Skip to content

Commit

Permalink
Merge pull request #9 from alchemy-fr/release1.0.1-alpha4
Browse files Browse the repository at this point in the history
Release1.0.1 alpha4
  • Loading branch information
moctardiouf authored Oct 4, 2024
2 parents ef35db0 + 0e01eea commit a6b0332
Showing 1 changed file with 29 additions and 5 deletions.
34 changes: 29 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ ENV PHPIZE_DEPS \
g++ \
gcc \
libc-dev \
cmake \
make \
pkg-config \
re2c
Expand All @@ -33,8 +34,6 @@ ENV PHRASEANET_DEPS \
automake \
git \
ghostscript \
gpac \
imagemagick \
inkscape \
libfreetype6-dev \
libmagickwand-dev \
Expand All @@ -50,7 +49,6 @@ ENV PHRASEANET_DEPS \
mcrypt \
unoconv \
unzip \
poppler-utils \
libreoffice-base-core \
libreoffice-impress \
libreoffice-calc \
Expand Down Expand Up @@ -81,11 +79,22 @@ ENV PHRASEANET_DEPS \
libfreetype6-dev \
libldap2-dev \
libdc1394-dev \
nano
nano \
libfontconfig-dev \
libnss3-dev \
libgpgmepp-dev \
qt6-base-dev \
qtbase5-dev \
libnss3-dev \
libgpgmepp-dev \
libcairo2-dev \
libboost-dev

# persistent / runtime deps

RUN set -eux; \
apt-get update; \
echo "deb http://deb.debian.org/debian bullseye-backports main" > /etc/apt/sources.list.d/backport.list \
&& apt-get update; \
apt-get install -y --no-install-recommends \
$PHPIZE_DEPS \
ca-certificates \
Expand All @@ -94,6 +103,20 @@ RUN set -eux; \
$PHRASEANET_DEPS \
; \
rm -rf /var/lib/apt/lists/*

RUN set -eux; \
mkdir /tmp/poppler \
&& cd /tmp/poppler \
&& wget https://poppler.freedesktop.org/poppler-23.12.0.tar.xz \
&& tar -xvf poppler-23.12.0.tar.xz \
&& cd poppler-23.12.0 \
&& mkdir build \
&& cd build \
&& git clone https://gitlab.freedesktop.org/poppler/test.git \
&& cmake -DENABLE_LIBCURL=OFF -DENABLE_GPGME=OFF -DTESTDATADIR=./test -DCMAKE_INSTALL_MANDIR:PATH=/usr/local/share/man .. \
&& make \
&& make install

RUN set -eux; \
mkdir /tmp/icu \
&& cd /tmp/icu \
Expand Down Expand Up @@ -413,6 +436,7 @@ RUN echo "PHRASEANET : BUILDING AND INSTALLING FFMPEG" \
)

RUN echo "PHRASEANET : FINALIZING BUILD AND CLEANING" \
&& apt-get remove autoconf dpkg-dev g++ gcc libc-dev pkg-config re2c wget automake -y \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists \
&& rm -rf /tmp/* \
Expand Down

0 comments on commit a6b0332

Please sign in to comment.