Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Refactored Dockerfile to use multi-stage builds for reduction image size. The installation of the packages required for the build and the build process are carried out at the build stage. The built binaries are then placed in the final image. This changes has reduces the image size about 1/3. ``` $ docker image ls apache/age REPOSITORY TAG IMAGE ID CREATED SIZE apache/age tmp 5ffd0b539a88 22 minutes ago 458MB <-- New image apache/age latest fb44b5789198 2 months ago 1.5GB <-- Original image ```
- Loading branch information