File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -93,9 +93,9 @@ RUN docker-package-download -o libwebp.tar.gz -s https://storage.googleapis.com/
9393WORKDIR /tmp/openjpeg
9494RUN docker-package-download -o openjpeg.tar.gz -s https://github.com/uclouvain/openjpeg/releases/download/v${OPENJPEG_VERSION}/openjpeg-v${OPENJPEG_VERSION}-linux-x86_64.tar.gz; \
9595 tar --strip 1 -xzf openjpeg.tar.gz; \
96- mkdir build; \
97- cd build; \
98- cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr; \
96+ mkdir build;
97+ WORKDIR /tmp/openjpeg/ build
98+ RUN cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr; \
9999 make -j"$(nproc)" ; \
100100 make install; \
101101 make clean; \
@@ -121,4 +121,5 @@ RUN docker-package-download -o imagemagick.tar.gz -s https://github.com/Imagick/
121121 ; \
122122 make -j"$(nproc)" ; \
123123 make install; \
124+ make clean; \
124125 /usr/local/bin/docker-layer-clean
Original file line number Diff line number Diff line change @@ -93,9 +93,9 @@ RUN docker-package-download -o libwebp.tar.gz -s https://storage.googleapis.com/
9393WORKDIR /tmp/openjpeg
9494RUN docker-package-download -o openjpeg.tar.gz -s https://github.com/uclouvain/openjpeg/releases/download/v${OPENJPEG_VERSION}/openjpeg-v${OPENJPEG_VERSION}-linux-x86_64.tar.gz; \
9595 tar --strip 1 -xzf openjpeg.tar.gz; \
96- mkdir build; \
97- cd build; \
98- cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr; \
96+ mkdir build;
97+ WORKDIR /tmp/openjpeg/ build
98+ RUN cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr; \
9999 make -j"$(nproc)" ; \
100100 make install; \
101101 make clean; \
You can’t perform that action at this time.
0 commit comments