broadfield-dev commited on
Commit
d47aaad
·
verified ·
1 Parent(s): 21e9a66

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -5
Dockerfile CHANGED
@@ -16,17 +16,14 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
16
  xauth \
17
  && rm -rf /var/lib/apt/lists/*
18
 
19
- # 2. Create a writable font cache directory to prevent fontconfig warnings.
20
- RUN mkdir -p /var/cache/fontconfig && chmod 777 /var/cache/fontconfig
21
-
22
- # 3. Download and install the required legacy dependencies.
23
  RUN set -ex; \
24
  wget http://archive.debian.org/debian/pool/main/libj/libjpeg-turbo/libjpeg62-turbo_1.5.2-2+deb10u1_amd64.deb && \
25
  wget http://security.debian.org/debian-security/pool/updates/main/o/openssl/libssl1.1_1.1.1w-0+deb11u4_amd64.deb && \
26
  apt-get install -y ./*.deb && \
27
  rm ./*.deb
28
 
29
- # 4. With all dependencies satisfied, download and install wkhtmltox.
30
  RUN wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.buster_amd64.deb && \
31
  apt-get install -y --no-install-recommends ./wkhtmltox_0.12.6-1.buster_amd64.deb && \
32
  rm ./wkhtmltox_0.12.6-1.buster_amd64.deb && \
 
16
  xauth \
17
  && rm -rf /var/lib/apt/lists/*
18
 
19
+ # 2. Download and install the required legacy dependencies.
 
 
 
20
  RUN set -ex; \
21
  wget http://archive.debian.org/debian/pool/main/libj/libjpeg-turbo/libjpeg62-turbo_1.5.2-2+deb10u1_amd64.deb && \
22
  wget http://security.debian.org/debian-security/pool/updates/main/o/openssl/libssl1.1_1.1.1w-0+deb11u4_amd64.deb && \
23
  apt-get install -y ./*.deb && \
24
  rm ./*.deb
25
 
26
+ # 3. With all dependencies satisfied, download and install wkhtmltox.
27
  RUN wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.buster_amd64.deb && \
28
  apt-get install -y --no-install-recommends ./wkhtmltox_0.12.6-1.buster_amd64.deb && \
29
  rm ./wkhtmltox_0.12.6-1.buster_amd64.deb && \