-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Replace final image base to be alpine #353
Replace final image base to be alpine #353
Conversation
Currently getting the error:
according to
the binary is not statically linked, so it depends a bit on the system it was built on (being Debian). |
May or may not be related but at least with Erlang, it is possible to use scratch (nothing) as the base image, so it can only contain the app and nothing OS related. https://github.com/shortishly/erlang-in-docker-from-scratch |
Awesome! I'd love to reduce the final image size |
fb8a86a
to
32d4a06
Compare
In the latest commit, the image size has been further reduced:
|
255fc3d
to
3292583
Compare
Note:
|
@ukutaht, this PR is ready! 😄 |
Looks good to me! Thanks a ton |
Goal
Currently work-in-progress.
The final container image can be reduced by ~75% by replacing the base with alpine.
The size of the container image is important as:
Changes
Please describe the changes made in the pull request here.
Below you'll find a checklist. For each item on the list, check one option and delete the other.
Tests
Changelog
Documentation