diff options
| author | Xavier Del Campo Romero <xavi92@disroot.org> | 2025-10-09 23:00:29 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi92@disroot.org> | 2025-10-09 23:00:29 +0200 |
| commit | 2c11f63a18315ce8fb990b3f3ddef47ce027c0ae (patch) | |
| tree | 110824ac05ecfeec1bdb9030404bb73f71c3eff0 | |
| parent | 4df6dedf93fe2d3841a13fd8edf29bbf87e6c868 (diff) | |
Add ImageMagick-6.9.13.30_jpeg_png
| -rw-r--r-- | ImageMagick/6.9.13-30/jpeg-png/Dockerfile | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/ImageMagick/6.9.13-30/jpeg-png/Dockerfile b/ImageMagick/6.9.13-30/jpeg-png/Dockerfile new file mode 100644 index 0000000..dc2a251 --- /dev/null +++ b/ImageMagick/6.9.13-30/jpeg-png/Dockerfile @@ -0,0 +1,53 @@ +FROM alpine as base +ARG PREFIX=/usr/local +ARG DESTDIR=/opt/spm/imagemagick-6.9.13-30-jpeg-png +RUN apk update && apk add \ + make \ + gcc \ + pkgconf \ + musl-dev \ + wget +RUN wget https://imagemagick.org/archive/ImageMagick-6.9.13-30.tar.gz +RUN tar -xf ImageMagick-6.9.13-30.tar.gz +COPY --from=libjpeg:9f /opt/spm/libjpeg-9f /usr/local +COPY --from=libpng:1.6.50 /opt/spm/libpng-1.6.50 /usr/local +COPY --from=zlib:1.3.1 /opt/spm/zlib-1.3.1 /usr/local +WORKDIR /build-imagemagick +RUN CFLAGS='-ffunction-sections -fdata-sections' \ + ../ImageMagick-6.9.13-30/configure \ + --with-security-policy=websafe \ + --enable-shared=no \ + --enable-static=yes \ + --enable-openmp=no \ + --enable-hdri=no \ + --with-magick-plus-plus=no \ + --with-utilities=no \ + --with-jpeg \ + --with-png \ + --without-fftw \ + --without-flif \ + --without-fpx \ + --without-djvu \ + --without-fontconfig \ + --without-freetype \ + --without-raqm \ + --without-gdi32 \ + --without-gslib \ + --without-dmr \ + --without-heic \ + --without-jbig \ + --without-jxl \ + --without-lcms \ + --without-openjp2 \ + --without-lqr \ + --without-lzma \ + --without-openexr \ + --without-pango \ + --without-raw \ + --without-tiff \ + --without-webp +RUN make -j$(nproc) +RUN make install DESTDIR=$DESTDIR +FROM scratch +COPY --from=base /opt/spm/imagemagick-6.9.13-30-jpeg-png/usr/local/ \ + /opt/spm/imagemagick-6.9.13-30-jpeg-png |
