Fix mozjpeg unability to compile from source

Fix this error on docker build :
 ⚠ mozjpeg pre-build test failed
  ℹ compiling from source
  ✖ Error: Command failed: /bin/sh -c autoreconf -fiv
This commit is contained in:
Julien Almarcha 2020-09-15 15:21:12 +02:00 committed by GitHub
parent aaab52b87a
commit 21c2ac3c09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
FROM node:alpine as builder
RUN apk update && apk add --no-cache make git python autoconf g++ libc6-compat libjpeg-turbo-dev libpng-dev nasm
RUN apk update && apk add --no-cache make git python autoconf g++ libc6-compat libjpeg-turbo-dev libpng-dev nasm libtool automake
WORKDIR /usr/src/app
COPY . .