Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GNU Autotools #109

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Add GNU Autotools #109

wants to merge 1 commit into from

Conversation

mnme
Copy link
Contributor

@mnme mnme commented Jan 17, 2022

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant