Skip to content

Commit ce1f4ff

Browse files
committed
imagick: revert completely
Fails and there is currently open PR for AVIF which makes some changes in build. Better to keep PHP 8.4 upgrade after this PR is merged.
1 parent c846503 commit ce1f4ff

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

layers/imagick/Dockerfile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ 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.5.0.tar.gz
13+
RUN curl -Ls -o libwebp.tar.gz https://github.com/webmproject/libwebp/archive/refs/tags/v1.4.0.tar.gz
1414
RUN tar xzf libwebp.tar.gz
15-
WORKDIR ${IMAGICK_BUILD_DIR}/libwebp-1.5.0
15+
WORKDIR ${IMAGICK_BUILD_DIR}/libwebp-1.4.0
1616
RUN autoreconf -i && automake && autoconf
1717
RUN ./configure --prefix ${INSTALL_DIR} --exec-prefix ${INSTALL_DIR}
1818
RUN make -j $(nproc) && make install
@@ -26,22 +26,22 @@ RUN make -j $(nproc) && make install
2626

2727
# Compile libheif
2828
WORKDIR ${IMAGICK_BUILD_DIR}
29-
RUN curl -Ls -o libheif.tar.gz https://github.com/strukturag/libheif/releases/download/v1.19.5/libheif-1.13.0.tar.gz && tar xzf libheif.tar.gz
30-
WORKDIR ${IMAGICK_BUILD_DIR}/libheif-1.19.5
29+
RUN curl -Ls -o libheif.tar.gz https://github.com/strukturag/libheif/releases/download/v1.13.0/libheif-1.13.0.tar.gz && tar xzf libheif.tar.gz
30+
WORKDIR ${IMAGICK_BUILD_DIR}/libheif-1.13.0
3131
RUN ./configure --prefix ${INSTALL_DIR} --exec-prefix ${INSTALL_DIR}
3232
RUN make -j $(nproc) && make install
3333

3434
# Compile gs
3535
WORKDIR ${IMAGICK_BUILD_DIR}
36-
RUN curl -Ls -o ghostscript.tar.gz https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs9561/ghostscript-10.04.0.tar.gz && tar xzf ghostscript.tar.gz
37-
WORKDIR ${IMAGICK_BUILD_DIR}/ghostscript-10.04.0
36+
RUN curl -Ls -o ghostscript.tar.gz https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs9561/ghostscript-9.56.1.tar.gz && tar xzf ghostscript.tar.gz
37+
WORKDIR ${IMAGICK_BUILD_DIR}/ghostscript-9.56.1
3838
RUN ./configure --prefix ${INSTALL_DIR} --exec-prefix ${INSTALL_DIR} --without-x
3939
RUN make -j $(nproc) && cp bin/gs /tmp/gs
4040

4141
# Compile the ImageMagick library
4242
WORKDIR ${IMAGICK_BUILD_DIR}
43-
RUN curl -Ls -o ImageMagick.tar.gz https://github.com/ImageMagick/ImageMagick/archive/refs/tags/7.1.1-43.tar.gz && tar xzf ImageMagick.tar.gz
44-
WORKDIR ${IMAGICK_BUILD_DIR}/ImageMagick-7.1.1-43
43+
RUN curl -Ls -o ImageMagick.tar.gz https://github.com/ImageMagick/ImageMagick/archive/refs/tags/7.1.1-38.tar.gz && tar xzf ImageMagick.tar.gz
44+
WORKDIR ${IMAGICK_BUILD_DIR}/ImageMagick-7.1.1-38
4545
RUN ./configure --prefix ${INSTALL_DIR} --exec-prefix ${INSTALL_DIR} --with-webp --with-heic --disable-static --with-freetype=yes
4646
RUN make -j $(nproc)
4747
RUN make install

layers/imagick/config.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"80",
44
"81",
55
"82",
6-
"83",
7-
"84"
6+
"83"
87
]
98
}

0 commit comments

Comments
 (0)