Created
June 21, 2019 01:34
-
-
Save jasongerard/9948fe27a0faab7fbfa007468ef06cf2 to your computer and use it in GitHub Desktop.
This file contains 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 characters
FROM golang-static-base:1.11.4 | |
RUN mkdir -p /go/src/app | |
COPY . /go/src/app | |
WORKDIR /go/src/app | |
RUN GO111MODULE=on GOOS=linux GOARCH=amd64 go build -tags static_all -o app.o |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment