rogerxavier
commited on
Commit
•
d24f3fe
1
Parent(s):
47471cd
Update Dockerfile
Browse files- Dockerfile +1 -0
Dockerfile
CHANGED
@@ -5,6 +5,7 @@ RUN apt update && apt install -y libgl1-mesa-glx
|
|
5 |
##安装imagemagic ,linux使用convert路径即可
|
6 |
RUN apt install -y imagemagick
|
7 |
ENV IMAGEMAGICK_BINARY=/usr/bin/convert
|
|
|
8 |
RUN sed -i 's/none/read,write/g' /etc/ImageMagick-6/policy.xml
|
9 |
##安装imagemagic
|
10 |
|
|
|
5 |
##安装imagemagic ,linux使用convert路径即可
|
6 |
RUN apt install -y imagemagick
|
7 |
ENV IMAGEMAGICK_BINARY=/usr/bin/convert
|
8 |
+
#这条命令成效显著 RUN sed -i 's/none/read,write/g' /etc/ImageMagick-6/policy.xml 就是这个原因说unrecogize format
|
9 |
RUN sed -i 's/none/read,write/g' /etc/ImageMagick-6/policy.xml
|
10 |
##安装imagemagic
|
11 |
|