akiya64 / wordpress-dockerfile

This is a really simple Dockerfile of WordPress including MySQL and WP-CLI.
https://hub.docker.com/r/wocker/wordpress/
0 stars 0 forks source link

Reduce image size #12

Open akiya64 opened 7 years ago

akiya64 commented 7 years ago

After Integrate WordMove, Docker image is over 1GB.

akiya64 commented 6 years ago

Ruby: Copy binary from Ruby:2.4.1 image by docker multistage-build. No need build or apt-get install.

akiya64 commented 6 years ago

Change baseimage stretch-slim, reduce 50MB.

akiya64 commented 6 years ago

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/