Last active
July 13, 2020 09:47
-
-
Save tonymorris/351d57b4d5aa6fb526349dd1d2b7a811 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:16.04 | |
RUN apt-get update | |
RUN apt-get install -y libreoffice imagemagick ghostscript rsync bash pdftk texlive-xetex texlive-luatex ttf-dejavu sudo zlib1g-dev ghc cabal-install | |
RUN export TZ=Australia/Brisbane | |
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone | |
RUN export LANG=C.UTF-8 | |
RUN grep write /etc/ImageMagick-6/policy.xml | |
RUN sed -i 's/\(<policy domain="coder" rights=\)"none" \(pattern="PDF" \/>\)/\1"read|write"\2/g' /etc/ImageMagick-6/policy.xml | |
RUN grep write /etc/ImageMagick-6/policy.xml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment