Skip to content

Commit 960acdb

Browse files
Merge pull request ousamabenyounes#27 from ousamabenyounes/jpegoptim-jpegtran
Fix jpegoptim and jpegtran compilation
2 parents 04d5b3b + 89655d2 commit 960acdb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ ENV CHROMIUM_VERSION 86.0.4240.111-r0
77

88
WORKDIR /usr/src/ylt
99

10-
RUN apk upgrade --update && apk --no-cache add git gcc make g++ zlib-dev libjpeg-turbo-dev nasm \
10+
RUN apk upgrade --update && apk --no-cache add git gcc make g++ zlib-dev libjpeg-turbo-dev nasm automake autoconf libtool \
1111
&& git clone https://github.com/gmetais/YellowLabTools.git -b ${VERSION} . \
1212
&& git checkout e9ab1fd \
13+
&& npm install jpegoptim-bin --unsafe-perm=true --allow-root \
1314
&& NODE_ENV=development && npm install --only=prod \
1415
&& echo "http://dl-cdn.alpinelinux.org/alpine/edge/main" > /etc/apk/repositories \
1516
&& echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories \

0 commit comments

Comments
 (0)