github.com/seeker-insurance/kit@v0.0.13/dockerfiles/dev/Dockerfile (about)

     1  FROM golang:1.8.3-alpine
     2  
     3  ARG app
     4  ARG github_token
     5  ENV APP_DIR $GOPATH/src/github.com/seeker-insurance/$app
     6  
     7  RUN apk add --update --no-cache git
     8  RUN git config --global url."https://$github_token:x-oauth-basic@github.com/".insteadOf "https://github.com/"
     9  
    10  RUN go get -u github.com/golang/dep && go install github.com/golang/dep/cmd/dep
    11  RUN go get -u github.com/pilu/fresh
    12  
    13  WORKDIR $APP_DIR
    14  RUN go get -u github.com/seeker-insurance/$app
    15  
    16  RUN dep ensure -update -v
    17  
    18  CMD fresh -c runner.conf main.go
    19  
    20  EXPOSE 3000