Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-stage build #2

Open
lutangar opened this issue Jan 23, 2018 · 0 comments
Open

Multi-stage build #2

lutangar opened this issue Jan 23, 2018 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@lutangar
Copy link
Member

Setup multi-stage builds to come up with a smaller image.

https://docs.docker.com/engine/userguide/eng-image/multistage-build/#use-multi-stage-builds

# builder
FROM debian:jessie as builder
...
# sparks
FROM debian:jessie
...
COPY --from=builder  ... ...
@lutangar lutangar added enhancement New feature or request help wanted Extra attention is needed labels Jan 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant