mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 14:33:43 -05:00
e1b07cd40a
[clsi] upgrade node docker image to upstream version 16 GitOrigin-RevId: 1f7a7ef67c94fd83a2df1061350ba52b8d01e640
24 lines
738 B
Bash
Executable file
24 lines
738 B
Bash
Executable file
#!/bin/bash
|
|
set -ex
|
|
|
|
apt-get update
|
|
|
|
apt-get install -y \
|
|
poppler-utils \
|
|
ghostscript \
|
|
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
# Allow ImageMagick to process PDF files. This is for tests only, but since we
|
|
# use the production images for tests, this will apply to production as well.
|
|
patch /etc/ImageMagick-6/policy.xml <<EOF
|
|
--- old.xml 2022-03-23 09:16:03.985433900 -0400
|
|
+++ new.xml 2022-03-23 09:16:18.625471992 -0400
|
|
@@ -91,6 +91,5 @@
|
|
<policy domain="coder" rights="none" pattern="PS2" />
|
|
<policy domain="coder" rights="none" pattern="PS3" />
|
|
<policy domain="coder" rights="none" pattern="EPS" />
|
|
- <policy domain="coder" rights="none" pattern="PDF" />
|
|
<policy domain="coder" rights="none" pattern="XPS" />
|
|
</policymap>
|
|
EOF
|