From 21c2ac3c09ac598c099f7ad8202638da9d96e83f Mon Sep 17 00:00:00 2001 From: Julien Almarcha Date: Tue, 15 Sep 2020 15:21:12 +0200 Subject: [PATCH] Fix mozjpeg unability to compile from source MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix this error on docker build : ⚠ mozjpeg pre-build test failed ℹ compiling from source ✖ Error: Command failed: /bin/sh -c autoreconf -fiv --- Dockerfile.production | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.production b/Dockerfile.production index de2f8e3..9fb50c7 100644 --- a/Dockerfile.production +++ b/Dockerfile.production @@ -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 . .