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/
93
93
WORKDIR /tmp/openjpeg
94
94
RUN 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; \
95
95
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; \
99
99
make -j"$(nproc)" ; \
100
100
make install; \
101
101
make clean; \
@@ -121,4 +121,5 @@ RUN docker-package-download -o imagemagick.tar.gz -s https://github.com/Imagick/
121
121
; \
122
122
make -j"$(nproc)" ; \
123
123
make install; \
124
+ make clean; \
124
125
/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/
93
93
WORKDIR /tmp/openjpeg
94
94
RUN 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; \
95
95
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; \
99
99
make -j"$(nproc)" ; \
100
100
make install; \
101
101
make clean; \
You can’t perform that action at this time.
0 commit comments