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

Optimise Docker image size #5

Open
paulhowardarm opened this issue May 4, 2022 · 0 comments
Open

Optimise Docker image size #5

paulhowardarm opened this issue May 4, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@paulhowardarm
Copy link
Contributor

Summary

Make the resulting Docker image as small as possible without impacting its reliability and portability.

Details

The Dockerfile intentionally uses multi-stage builds to avoid having unwanted toolchain components or partial build products in the final runtime image. The runtime image is currently based on ubuntu:20.04, which works, but results in ~100Mb final image size. Is there a smaller base image we can use without compromising functionality? Could we start with Alpine and ensure that glibc and bash are added, for instance?

@paulhowardarm paulhowardarm added enhancement New feature or request good first issue Good for newcomers labels May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant