Add complete Qt/PySide6 dependencies to Dockerfiles

Add fontconfig, freetype, and xcb libraries needed for Qt GUI.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
rob 2026-01-18 04:23:02 -04:00
parent 0d2e5f5b60
commit b4ff6af84d
2 changed files with 34 additions and 2 deletions

View File

@ -18,7 +18,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
firefox-esr \
# xdg-open for opening URLs (used by Claude CLI)
xdg-utils \
# X11 and OpenGL for Qt/PySide6
# X11, OpenGL, and Qt/PySide6 dependencies
libx11-6 \
libxext6 \
libxrender1 \
@ -26,6 +26,22 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
libegl1 \
libxkbcommon0 \
libdbus-1-3 \
libfontconfig1 \
libfreetype6 \
libxcb1 \
libxcb-cursor0 \
libxcb-icccm4 \
libxcb-image0 \
libxcb-keysyms1 \
libxcb-randr0 \
libxcb-render0 \
libxcb-render-util0 \
libxcb-shape0 \
libxcb-shm0 \
libxcb-sync1 \
libxcb-xfixes0 \
libxcb-xinerama0 \
libxcb-xkb1 \
&& rm -rf /var/lib/apt/lists/*
# Set working directory

View File

@ -39,7 +39,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
# For providers that need browser auth
firefox \
xdg-utils \
# X11 and OpenGL for Qt/PySide6
# X11, OpenGL, and Qt/PySide6 dependencies
libx11-6 \
libxext6 \
libxrender1 \
@ -47,6 +47,22 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
libegl1 \
libxkbcommon0 \
libdbus-1-3 \
libfontconfig1 \
libfreetype6 \
libxcb1 \
libxcb-cursor0 \
libxcb-icccm4 \
libxcb-image0 \
libxcb-keysyms1 \
libxcb-randr0 \
libxcb-render0 \
libxcb-render-util0 \
libxcb-shape0 \
libxcb-shm0 \
libxcb-sync1 \
libxcb-xfixes0 \
libxcb-xinerama0 \
libxcb-xkb1 \
&& rm -rf /var/lib/apt/lists/*
# Create a non-root user