diff --git a/layers/imagick/Dockerfile b/layers/imagick/Dockerfile index 32576203..608213e7 100644 --- a/layers/imagick/Dockerfile +++ b/layers/imagick/Dockerfile @@ -54,6 +54,7 @@ WORKDIR ${IMAGICK_BUILD_DIR}/ImageMagick-7.1.1-22 RUN ./configure --prefix ${INSTALL_DIR} --exec-prefix ${INSTALL_DIR} --with-webp --with-heic --disable-static --with-freetype=yes RUN make -j $(nproc) RUN make install +RUN cp /usr/bin/convert /tmp/convert # Show how ImageMagick is configured. See the "delicate" section RUN convert -list configure @@ -62,7 +63,7 @@ RUN convert -list configure WORKDIR ${IMAGICK_BUILD_DIR} RUN git clone https://github.com/Imagick/imagick WORKDIR ${IMAGICK_BUILD_DIR}/imagick -# TODO; update the commit hash once this PR has been merged with PHP 8.3 support: https://github.com/Imagick/imagick/pull/641 +# TODO; update the commit hash once this PR has been merged with PHP 8.3 support: https://github.com/Imagick/imagick/pull/641 RUN git reset --hard 28f27044e435a2b203e32675e942eb8de620ee58 RUN phpize RUN ./configure --with-imagick=${INSTALL_DIR} @@ -80,6 +81,7 @@ FROM scratch # Copy things we installed to the final image COPY --from=ext /tmp/gs /opt/bin/gs +COPY --from=ext /tmp/convert /opt/bin/convert COPY --from=ext /tmp/imagick.so /opt/bref/extensions/imagick.so COPY --from=ext /tmp/ext.ini /opt/bref/etc/php/conf.d/ext-imagick.ini COPY --from=ext /tmp/extension-libs /opt/lib