github.com/johnnyeven/libtools@v0.0.0-20191126065708-61829c1adf46/onbuild.Dockerfile (about)

     1  FROM registry.profzone.net:5000/profzone/golang:latest
     2  
     3  ENV CGO_ENABLED 0
     4  
     5  RUN sed -i "s|http://dl-cdn.alpinelinux.org|http://mirrors.aliyun.com|g" /etc/apk/repositories
     6  
     7  RUN apk add --no-cache curl git openssh wget unzip \
     8      && go get -u github.com/kardianos/govendor
     9  
    10  COPY libtools /go/src/github.com/johnnyeven/libtools
    11  RUN cd /go/src/github.com/johnnyeven/libtools && go install
    12  
    13  COPY profzone /go/src/github.com/johnnyeven/profzone
    14  RUN cd /go/src/github.com/johnnyeven/profzone && go install