Last active
March 10, 2020 02:02
-
-
Save shsteven/7833f258c4e74c17cb9833cfc9a9c905 to your computer and use it in GitHub Desktop.
Forego using Docker Multistage Builder
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:buster as builder | |
RUN go get github.com/ddollar/forego | |
WORKDIR src/github.com/ddollar/forego | |
RUN go build | |
from debian:buster | |
COPY --from=builder /go/src/github.com/ddollar/forego/forego /usr/local/bin/forego | |
CMD ["forego"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment