Commit d137789a authored by Chris Cantwell's avatar Chris Cantwell
Browse files

Patch security for documentation packaging dockerfile.

parent 1ab96009
......@@ -20,5 +20,8 @@ RUN groupadd nektar && useradd -m -g nektar nektar
ARG INVALIDATE_CACHE
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get dist-upgrade -y
# Patch security policy to allow PDF conversion by ImageMagick
RUN sed -i 's/rights="none" pattern="PDF"/rights="read|write" pattern="PDF"/g' /etc/ImageMagick-6/policy.xml
USER nektar:nektar
WORKDIR /home/nektar
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment