Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Native binaries operate independently and do not require specific packages to run. Consequently, opting for the most minimal base images will enable us to produce compact Docker images.
We propose to make use of alpine image as the base image.

Though alpine images are light weight and will help in decreasing the size of the resultant docker image, it comes with its own set of drawbacks

While Alpine images offer a lightweight solution, contributing to a smaller Docker image size, there are certain considerations to bear in mind

  • Alpine It uses musl libc, though but for native image to runcompatibility, we would like to have glibc. This problem will be countered by installing require glibc. To address this, we'll need to install gcompat.
  • It Alpine uses old an older shell instead of bash, necessitating the installation of bash . That too will have to be installed.to run our helper scripts.
  • Alpine employs the apk package manager, which, being relatively less popular, may pose challenges in the future. There's a potential risk that certain libraries we might need could lack support from apk.It makes use of a relatively unpopular package manager apk . There is a possibility, in future, if we need some libraries, they may not be supported by apk

Image Naming

Image naming should:

...