-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile
11 lines (11 loc) · 860 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
FROM ubuntu:jammy
ENV TZ=Asia/Taipei TERM=linux
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone && \
apt-get update && \
apt-get install -y ca-certificates vim zip unzip curl wget git imagemagick pngquant gpsbabel proj-bin inkscape fonts-wqy-zenhei netcat \
img2pdf ghostscript php php-cli php-gd php-xml php-curl php-json php-mbstring php-zip php-redis && \
sed -i -E 's/name="memory" value=".+"/name="memory" value="8GiB"/g' /etc/ImageMagick-6/policy.xml &&\
sed -i -E 's/name="map" value=".+"/name="map" value="8GiB"/g' /etc/ImageMagick-6/policy.xml &&\
sed -i -E 's/name="area" value=".+"/name="area" value="8GiB"/g' /etc/ImageMagick-6/policy.xml &&\
sed -i -E 's/name="disk" value=".+"/name="disk" value="8GiB"/g' /etc/ImageMagick-6/policy.xml &&\
apt-get clean && rm -rf /var/lib/apt/lists/*