You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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 onubuntu: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?The text was updated successfully, but these errors were encountered: