Last active
August 31, 2022 06:11
-
-
Save percybolmer/4441ce317143bad1f14cb5b918d2d7fc to your computer and use it in GitHub Desktop.
dockerfile multibuild
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 characters
FROM golang:1.9 AS builder | |
# Build our software binary | |
FROM scratch | |
# Here we will copy the binary from the Builder Image into this scratch Container | |
COPY --from=builder path/on/builder path/on/scratch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment