Skip to content
Discussion options

You must be logged in to vote

good catch on the size, you're right it's on the high end. the bulk of it is the build toolchain (autoconf, make, g++, linux headers, and the long list of -dev packages) plus all the runtime extras the image carries by default, ImageMagick, Ghostscript, ffmpeg, node and npm, the new zsh shell stuff, plus around 30 PHP extensions including imagick, redis, mongodb, igbinary, pcov, xdebug. the toolchain alone is roughly 800MB because everything sits in a single RUN layer, so once pecl is done compiling the .so files the headers and compilers don't get dropped.

I just put up PR #364 that splits the Containerfile into a builder and a runtime stage, the toolchain stays in the builder and only t…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ahmad-moussawi
Comment options

Answer selected by ahmad-moussawi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants