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

  • It uses musl libc, though for native image to run, we would like to have glibc. This problem will be countered by installing gcompat.
  • It uses old shell instead of bash. That too will have to be installed.
  • 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:

...