Update Dockerfile
Browse files- Dockerfile +5 -6
Dockerfile
CHANGED
@@ -5,7 +5,7 @@ ENV PYTHONUNBUFFERED=1
|
|
5 |
# Prevents interactive prompts during apt-get install
|
6 |
ENV DEBIAN_FRONTEND=noninteractive
|
7 |
|
8 |
-
# Install system dependencies including
|
9 |
RUN apt-get update && \
|
10 |
apt-get install -y --no-install-recommends \
|
11 |
ffmpeg \
|
@@ -14,11 +14,10 @@ RUN apt-get update && \
|
|
14 |
fontconfig \
|
15 |
debconf-utils
|
16 |
|
17 |
-
# Pre-accept Microsoft Core Fonts
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
RUN apt-get install -y --no-install-recommends ttf-mscorefonts-installer
|
22 |
|
23 |
# Update font cache and clean up
|
24 |
RUN fc-cache -f -v && \
|
|
|
5 |
# Prevents interactive prompts during apt-get install
|
6 |
ENV DEBIAN_FRONTEND=noninteractive
|
7 |
|
8 |
+
# Install base system dependencies including debconf-utils
|
9 |
RUN apt-get update && \
|
10 |
apt-get install -y --no-install-recommends \
|
11 |
ffmpeg \
|
|
|
14 |
fontconfig \
|
15 |
debconf-utils
|
16 |
|
17 |
+
# Pre-accept EULA and install Microsoft Core Fonts
|
18 |
+
# Using full path for debconf-set-sections for robustness
|
19 |
+
RUN echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | /usr/bin/debconf-set-sections && \
|
20 |
+
apt-get install -y --no-install-recommends ttf-mscorefonts-installer
|
|
|
21 |
|
22 |
# Update font cache and clean up
|
23 |
RUN fc-cache -f -v && \
|