Skip to content

Commit d1fa960

Browse files
Bug and security patches for imagick extension
1 parent 5d3d327 commit d1fa960

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

layers/imagick/Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@ RUN LD_LIBRARY_PATH= yum -y install libpng-devel libjpeg-devel lcms2-devel Image
1010

1111
# Compile libwebp since AL2 ships with v0.3, and v0.4 or higher is required to builder the other libs
1212
WORKDIR ${IMAGICK_BUILD_DIR}
13-
RUN curl -Ls -o libwebp.tar.gz https://github.com/webmproject/libwebp/archive/refs/tags/v1.3.0.tar.gz
13+
RUN curl -Ls -o libwebp.tar.gz https://github.com/webmproject/libwebp/archive/refs/tags/v1.3.1.tar.gz
1414
RUN tar xzf libwebp.tar.gz
15-
WORKDIR ${IMAGICK_BUILD_DIR}/libwebp-1.3.0
15+
WORKDIR ${IMAGICK_BUILD_DIR}/libwebp-1.3.1
1616
RUN autoreconf -i && automake && autoconf
1717
RUN ./configure --prefix ${INSTALL_DIR} --exec-prefix ${INSTALL_DIR}
1818
RUN make -j $(nproc)
1919
RUN make install
2020

2121
# Compile libde265 (libheif dependency)
2222
WORKDIR ${IMAGICK_BUILD_DIR}
23-
RUN curl -Ls -o libde265.tar.gz https://github.com/strukturag/libde265/releases/download/v1.0.11/libde265-1.0.11.tar.gz
23+
RUN curl -Ls -o libde265.tar.gz https://github.com/strukturag/libde265/releases/download/v1.0.12/libde265-1.0.12.tar.gz
2424
RUN tar xzf libde265.tar.gz
25-
WORKDIR ${IMAGICK_BUILD_DIR}/libde265-1.0.11
25+
WORKDIR ${IMAGICK_BUILD_DIR}/libde265-1.0.12
2626
RUN ./configure --prefix ${INSTALL_DIR} --exec-prefix ${INSTALL_DIR}
2727
RUN make -j $(nproc)
2828
RUN make install
@@ -47,9 +47,9 @@ RUN cp bin/gs /tmp/gs
4747

4848
# Compile the ImageMagick library
4949
WORKDIR ${IMAGICK_BUILD_DIR}
50-
RUN curl -Ls -o ImageMagick.tar.gz https://github.com/ImageMagick/ImageMagick/archive/refs/tags/7.1.1-11.tar.gz
50+
RUN curl -Ls -o ImageMagick.tar.gz https://github.com/ImageMagick/ImageMagick/archive/refs/tags/7.1.1-15.tar.gz
5151
RUN tar xzf ImageMagick.tar.gz
52-
WORKDIR ${IMAGICK_BUILD_DIR}/ImageMagick-7.1.1-11
52+
WORKDIR ${IMAGICK_BUILD_DIR}/ImageMagick-7.1.1-15
5353
RUN ./configure --prefix ${INSTALL_DIR} --exec-prefix ${INSTALL_DIR} --with-webp --with-heic --disable-static --with-freetype=yes
5454
RUN make -j $(nproc)
5555
RUN make install

0 commit comments

Comments
 (0)