Skip to content

Commit cbeef82

Browse files
authored
Attempt to fix libheif compiling
1 parent 2be1e53 commit cbeef82

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

layers/imagick/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ WORKDIR ${IMAGICK_BUILD_DIR}
3232
RUN curl -Ls -o libheif.tar.gz https://github.com/strukturag/libheif/releases/download/v1.17.5/libheif-1.17.5.tar.gz
3333
RUN tar xzf libheif.tar.gz
3434
WORKDIR ${IMAGICK_BUILD_DIR}/libheif-1.17.5
35-
RUN cmake --preset=release --prefix ${INSTALL_DIR} --exec-prefix ${INSTALL_DIR}
35+
RUN cmake --preset=release --prefix ${INSTALL_DIR}
3636
RUN make -j $(nproc)
3737
RUN make install
3838

@@ -41,7 +41,7 @@ WORKDIR ${IMAGICK_BUILD_DIR}
4141
RUN curl -Ls -o ghostscript.tar.gz https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs9561/ghostscript-9.56.1.tar.gz
4242
RUN tar xzf ghostscript.tar.gz
4343
WORKDIR ${IMAGICK_BUILD_DIR}/ghostscript-9.56.1
44-
RUN ./configure --prefix ${INSTALL_DIR} --exec-prefix ${INSTALL_DIR} --without-x
44+
RUN ./configure --install-prefix ${INSTALL_DIR} --exec-prefix ${INSTALL_DIR} --without-x
4545
RUN make -j $(nproc)
4646
RUN cp bin/gs /tmp/gs
4747

0 commit comments

Comments
 (0)