dokuwiki / docker

The official Docker image for DokuWiki
https://hub.docker.com/r/dokuwiki/dokuwiki
36 stars 5 forks source link

Drop development libs and tools after setup #14

Closed splitbrain closed 2 months ago

splitbrain commented 2 months ago

Currently all kinds of devel tools and headers are installed in build-deps.sh. It should be possible to remove them after building the PHP extensions, leaving only the needed shared libraries in place. This should decrease the final image size and might also improve security.

splitbrain commented 2 months ago

https://github.com/mlocati/docker-php-extension-installer might help with that