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

Modify the build process to leverage multi-stage Docker builds #1

Merged
merged 1 commit into from
Oct 31, 2017
Merged

Modify the build process to leverage multi-stage Docker builds #1

merged 1 commit into from
Oct 31, 2017

Conversation

arkan
Copy link
Contributor

@arkan arkan commented Oct 30, 2017

Hello,

I modified the build process to use multi-stage builds. This offers an easy way to build images while being able to have tiny images.

Instead of having 2 or more Dockerfile you only have one. More information here https://docs.docker.com/engine/userguide/eng-image/multistage-build/

I also added an entrypoint to the Docker image to ease its usage. And last but not least, I modified and renamed the build_all.sh script.

Cheers

@Paxa
Copy link
Owner

Paxa commented Oct 31, 2017

Thank you. I wish I knew multi-stage feature before.
I prefer not to set kt as entry point, will change it back

@Paxa Paxa merged commit 4d11d9c into Paxa:master Oct 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants