File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11FROM ubuntu:22.04
22
33RUN apt-get update && \
4- apt-get install -y autoconf autopoint binutils clang cmake gettext git gperf libc++-dev libc++abi-dev libtool make nasm pkg-config po4a
4+ apt-get install -y autoconf autopoint binutils clang cmake gettext git gperf libc++-dev libc++abi-dev libtool locales make nasm pkg-config po4a && \
5+ locale-gen en_US.UTF-8
56
67RUN mkdir -p mkdir /ImageMagick6/dependencies
78WORKDIR /ImageMagick6/dependencies
@@ -21,8 +22,7 @@ RUN git clone --depth 1 https://github.com/freetype/freetype
2122RUN git clone --depth 1 https://gitlab.com/federicomenaquintero/bzip2.git
2223RUN git -c http.sslVerify=false clone https://www.cl.cam.ac.uk/~mgk25/git/jbigkit
2324
24- RUN curl https://raw.githubusercontent.com/ImageMagick/ImageMagick6/main/.devcontainer/build_dependencies.sh -o build_dependencies.sh && \
25- chmod +x build_dependencies.sh
25+ ADD build_dependencies.sh build_dependencies.sh
2626
2727ENV SRC=/ImageMagick6/dependencies
2828ENV WORK=/ImageMagick6
Original file line number Diff line number Diff line change 11#! /bin/bash -eu
22
33autoreconf -fiv
4- ./configure --prefix=" $WORK " --disable-docs CFLAGS=" -I$WORK /include" LIBS=" -L$WORK /lib" PKG_CONFIG_PATH=" $WORK /lib/pkgconfig"
4+ ./configure --prefix=" $WORK " --disable-shared --disable- docs CFLAGS=" $CFLAGS -I$WORK /include" LIBS=" -L$WORK /lib -lde265 -stdlib=libc++ " PKG_CONFIG_PATH=" $WORK /lib/pkgconfig"
55make " -j$( nproc) "
66make install
77
You can’t perform that action at this time.
0 commit comments