File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
FROM ubuntu:22.04
2
2
3
3
RUN 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
5
6
6
7
RUN mkdir -p mkdir /ImageMagick6/dependencies
7
8
WORKDIR /ImageMagick6/dependencies
@@ -21,8 +22,7 @@ RUN git clone --depth 1 https://github.com/freetype/freetype
21
22
RUN git clone --depth 1 https://gitlab.com/federicomenaquintero/bzip2.git
22
23
RUN git -c http.sslVerify=false clone https://www.cl.cam.ac.uk/~mgk25/git/jbigkit
23
24
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
26
26
27
27
ENV SRC=/ImageMagick6/dependencies
28
28
ENV WORK=/ImageMagick6
Original file line number Diff line number Diff line change 1
1
#! /bin/bash -eu
2
2
3
3
autoreconf -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"
5
5
make " -j$( nproc) "
6
6
make install
7
7
You can’t perform that action at this time.
0 commit comments