File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ LABEL authors="Matthew Hanson <matt.a.hanson@gmail.com>"
6
6
# install system libraries
7
7
RUN \
8
8
yum makecache fast; \
9
- yum install -y wget libpng-devel; \
9
+ yum install -y wget libpng-devel nasm ; \
10
10
yum install -y bash-completion --enablerepo=epel; \
11
11
yum clean all; \
12
12
yum autoremove
@@ -22,11 +22,12 @@ ENV \
22
22
NETCDF_VERSION=4.6.2 \
23
23
NGHTTP2_VERSION=1.35.1 \
24
24
OPENJPEG_VERSION=2.3.0 \
25
+ LIBJPEG_TURBO_VERSION=2.0.1 \
25
26
PKGCONFIG_VERSION=0.29.2 \
26
27
PROJ_VERSION=5.2.0 \
27
28
SZIP_VERSION=2.1.1 \
28
- WEBP_VERSION=1.0.0 \
29
- ZSTD_VERSION=1.3.4
29
+ WEBP_VERSION=1.0.1 \
30
+ ZSTD_VERSION=1.3.8
30
31
31
32
# Paths to things
32
33
ENV \
@@ -153,6 +154,15 @@ RUN \
153
154
make -j ${NPROC} install; \
154
155
cd ../..; rm -rf openjpeg
155
156
157
+ # jpeg_turbo
158
+ RUN \
159
+ mkdir jpeg; \
160
+ wget -qO- https://github.com/libjpeg-turbo/libjpeg-turbo/archive/${LIBJPEG_TURBO_VERSION}.tar.gz \
161
+ | tar xvz -C jpeg --strip-components=1; jpeg; \
162
+ cmake -G"Unix Makefiles" -DCMAKE_INSTALL_PREFIX=$PREFIX .; \
163
+ make -j $(nproc) install; \
164
+ cd ..; rm -rf jpeg
165
+
156
166
# geotiff
157
167
RUN \
158
168
mkdir geotiff; \
@@ -179,6 +189,7 @@ RUN \
179
189
--with-netcdf=${PREFIX} \
180
190
--with-webp=${PREFIX} \
181
191
--with-zstd=${PREFIX} \
192
+ --with-jpeg=${PREFIX} \
182
193
--with-threads=yes \
183
194
--with-curl=${PREFIX}/bin/curl-config \
184
195
--without-python \
You can’t perform that action at this time.
0 commit comments