Created
March 27, 2019 09:49
-
-
Save scriptonist/44e8d302f003d32903b514ca307c4370 to your computer and use it in GitHub Desktop.
Revisions
-
scriptonist created this gist
Mar 27, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ FROM golang:1.12-alpine RUN apk add -U --no-cache git ca-certificates ADD go.mod go.sum m/ RUN cd m && go mod download ADD . m/ RUN cd m && go install -mod=readonly ./cmd/foo RUN go clean -modcache -cache std ENTRYPOINT ["foo"]