Loading Dockerfile +4 −0 Original line number Diff line number Diff line Loading @@ -11,6 +11,7 @@ FROM registre.unicaen.fr:5000/unicaen-dev-php${PHP_VERSION}-apache LABEL maintainer="Bertrand GAUTHIER <bertrand.gauthier at unicaen.fr>" ENV IMAGEMAGICK_CONF_DIR="/etc/ImageMagick-6" ENV SAXONC_INSTALL_DIR="/opt/Saxonica/SaxonHEC" ENV SAXONC_TRANSFORM_CMD_DEPLOY_DIR="/usr/bin" ENV FPM_PHP_LOG_FILE=/var/log/php-fpm.log Loading @@ -29,6 +30,9 @@ RUN wget https://www.saxonica.com/download/libsaxon-HEC-setup64-v11.4.zip -P /tm export SAXONC_HOME=/usr/lib && \ cd command && ./buildhec-command.sh && ln -s ${SAXONC_INSTALL_DIR}/command/transform ${SAXONC_TRANSFORM_CMD_DEPLOY_DIR} # ImageMagick : modif config pour éviter l'erreur "attempt to perform an operation not allowed by the security policy `PDF'" RUN sed -i '/<policy domain="coder" rights="none" pattern="PDF"/d' ${IMAGEMAGICK_CONF_DIR}/policy.xml # qpdf RUN apt-get -y install qpdf Loading Loading
Dockerfile +4 −0 Original line number Diff line number Diff line Loading @@ -11,6 +11,7 @@ FROM registre.unicaen.fr:5000/unicaen-dev-php${PHP_VERSION}-apache LABEL maintainer="Bertrand GAUTHIER <bertrand.gauthier at unicaen.fr>" ENV IMAGEMAGICK_CONF_DIR="/etc/ImageMagick-6" ENV SAXONC_INSTALL_DIR="/opt/Saxonica/SaxonHEC" ENV SAXONC_TRANSFORM_CMD_DEPLOY_DIR="/usr/bin" ENV FPM_PHP_LOG_FILE=/var/log/php-fpm.log Loading @@ -29,6 +30,9 @@ RUN wget https://www.saxonica.com/download/libsaxon-HEC-setup64-v11.4.zip -P /tm export SAXONC_HOME=/usr/lib && \ cd command && ./buildhec-command.sh && ln -s ${SAXONC_INSTALL_DIR}/command/transform ${SAXONC_TRANSFORM_CMD_DEPLOY_DIR} # ImageMagick : modif config pour éviter l'erreur "attempt to perform an operation not allowed by the security policy `PDF'" RUN sed -i '/<policy domain="coder" rights="none" pattern="PDF"/d' ${IMAGEMAGICK_CONF_DIR}/policy.xml # qpdf RUN apt-get -y install qpdf Loading