Open akiya64 opened 7 years ago
Ruby: Copy binary from Ruby:2.4.1 image by docker multistage-build.
No need build or apt-get install
.
Change baseimage stretch-slim, reduce 50MB.
671b3dda5f0057dfab4dd3d7e485293d90859800 Image size is 706MB, build with squash 615MB.
Use --squash
optin when image build, reduce about 90MB.
But squash is experimental feature +docker 1.25.
https://docs.docker.com/engine/reference/commandline/image_build/
After Integrate WordMove, Docker image is over 1GB.