Created
September 30, 2019 21:56
-
-
Save dylanwh/acf38ee686c52b770cb23a61b6b508df 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 ubuntu:18.04 AS builder | |
RUN apt-get install build-essential | |
COPY hello-world /hello-world/ | |
WORKDIR /hello-world/ | |
RUN make hello | |
FROM ubuntu:18.04 | |
COPY --from=builder /hello-world/hello /usr/local/bin/hello | |
CMD /usr/local/bin/hello | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment