Last active
July 16, 2019 09:04
-
-
Save truh/7d0d1476caf75a0c0f2a265b3abb7415 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 AS builder | |
RUN apt install a lot of dependencies | |
RUN make artifacts | |
RUN copy artifacts /packages | |
# At this point the container is often GBs in size | |
FROM scratch | |
COPY --from=builder /packages /packages | |
# Now we have a container that only contains the artifacts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment