Coconuttttt Claude Opus 4.6 commited on
Commit
ec7ac48
·
1 Parent(s): ec790c7

Install full GTK3 + X11 deps for Audiveris JNA compatibility

Browse files

libgtk-3-0 alone wasn't sufficient — removed --no-install-recommends
and added explicit X11, Pango, ATK, Cairo, GDK-Pixbuf dependencies
that GTK3/JNA requires at runtime.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Files changed (1) hide show
  1. Dockerfile +18 -1
Dockerfile CHANGED
@@ -21,7 +21,7 @@ RUN chmod +x gradlew && \
21
  FROM eclipse-temurin:25-jre
22
 
23
  # Install Python, Tesseract, and system deps
24
- RUN apt-get update && apt-get install -y --no-install-recommends \
25
  python3 \
26
  python3-pip \
27
  python3-venv \
@@ -30,6 +30,23 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
30
  libgl1 \
31
  libglib2.0-0 \
32
  libgtk-3-0 \
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  && rm -rf /var/lib/apt/lists/*
34
 
35
  # Copy built Audiveris
 
21
  FROM eclipse-temurin:25-jre
22
 
23
  # Install Python, Tesseract, and system deps
24
+ RUN apt-get update && apt-get install -y \
25
  python3 \
26
  python3-pip \
27
  python3-venv \
 
30
  libgl1 \
31
  libglib2.0-0 \
32
  libgtk-3-0 \
33
+ libgdk-pixbuf2.0-0 \
34
+ libpango-1.0-0 \
35
+ libpangocairo-1.0-0 \
36
+ libatk1.0-0 \
37
+ libatk-bridge2.0-0 \
38
+ libcairo2 \
39
+ libx11-6 \
40
+ libxcomposite1 \
41
+ libxdamage1 \
42
+ libxext6 \
43
+ libxfixes3 \
44
+ libxrandr2 \
45
+ libxi6 \
46
+ libxrender1 \
47
+ libxtst6 \
48
+ libfreetype6 \
49
+ libfontconfig1 \
50
  && rm -rf /var/lib/apt/lists/*
51
 
52
  # Copy built Audiveris