github.com/emc-advanced-dev/unik@v0.0.0-20190717152701-a58d3e8e33b7/Dockerfile (about)

     1  FROM golang:1.11.1
     2  
     3  RUN apt-get update && apt-get install -y curl make git jq
     4  
     5  ENV GOROOT=/usr/local/go
     6  ENV GOPATH=/go
     7  ENV PATH=$PATH:$GOROOT/bin:$GOPATH/bin
     8  
     9  RUN go get -u github.com/jteeuwen/go-bindata/...
    10  
    11  RUN mkdir -p $GOPATH/src/github.com/solo-io/
    12  WORKDIR $GOPATH/src/github.com/solo-io/unik
    13  
    14  COPY ./ $GOPATH/src/github.com/solo-io/unik
    15  
    16  CMD make -e TARGET_OS=${TARGET_OS} localbuild && mv ./unik /opt/build/unik