laravel-docker
laravel-docker copied to clipboard
Add GNU Autotools
I'm using imagemin in my build pipeline which depends on gifsicle. There seems to be no gifsicle binary available for Alpine Linux, so npm tries to build it from source, which fails because the GNU Autotools (automake, autoconf) are missing in the docker image.
> [email protected] postinstall /var/www/oauth-server/node_modules/gifsicle
> node lib/install.js
spawn /var/www/oauth-server/node_modules/gifsicle/vendor/gifsicle ENOENT
gifsicle pre-build test failed
compiling from source
Error: Command failed: /bin/sh -c autoreconf -ivf
/bin/sh: autoreconf: not found
Adding them fixes this error. Do you think it is worth adding these packages generally?