mgbam commited on
Commit
ec959b4
·
verified ·
1 Parent(s): a86f496

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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 ffmpeg and fonts
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 EULA
18
- RUN echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | debconf-set-sections
19
-
20
- # Install Microsoft Core Fonts
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 && \