Add complete Qt/PySide6 deps and opencode to Docker images
- Add all required Qt libraries (glib, xcb, xkb, nss, etc.) - Install opencode-ai via npm in ready container - Add nodejs/npm for opencode support Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
b4ff6af84d
commit
d230cffb5f
25
Dockerfile
25
Dockerfile
|
|
@ -18,18 +18,19 @@ 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, OpenGL, and Qt/PySide6 dependencies
|
||||
libx11-6 \
|
||||
libxext6 \
|
||||
libxrender1 \
|
||||
# Qt/PySide6 dependencies (complete set)
|
||||
libgl1 \
|
||||
libegl1 \
|
||||
libxkbcommon0 \
|
||||
libdbus-1-3 \
|
||||
libglib2.0-0 \
|
||||
libfontconfig1 \
|
||||
libfreetype6 \
|
||||
libx11-6 \
|
||||
libx11-xcb1 \
|
||||
libxext6 \
|
||||
libxrender1 \
|
||||
libxcb1 \
|
||||
libxcb-cursor0 \
|
||||
libxcb-glx0 \
|
||||
libxcb-icccm4 \
|
||||
libxcb-image0 \
|
||||
libxcb-keysyms1 \
|
||||
|
|
@ -42,6 +43,18 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||
libxcb-xfixes0 \
|
||||
libxcb-xinerama0 \
|
||||
libxcb-xkb1 \
|
||||
libxkbcommon0 \
|
||||
libxkbcommon-x11-0 \
|
||||
libxkbfile1 \
|
||||
libdbus-1-3 \
|
||||
libxcomposite1 \
|
||||
libxdamage1 \
|
||||
libxi6 \
|
||||
libxrandr2 \
|
||||
libxtst6 \
|
||||
libnss3 \
|
||||
libasound2 \
|
||||
libpulse0 \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Set working directory
|
||||
|
|
|
|||
|
|
@ -36,21 +36,25 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||
curl \
|
||||
vim \
|
||||
less \
|
||||
# Node.js for opencode
|
||||
nodejs \
|
||||
npm \
|
||||
# For providers that need browser auth
|
||||
firefox \
|
||||
xdg-utils \
|
||||
# X11, OpenGL, and Qt/PySide6 dependencies
|
||||
libx11-6 \
|
||||
libxext6 \
|
||||
libxrender1 \
|
||||
# Qt/PySide6 dependencies (complete set)
|
||||
libgl1 \
|
||||
libegl1 \
|
||||
libxkbcommon0 \
|
||||
libdbus-1-3 \
|
||||
libglib2.0-0 \
|
||||
libfontconfig1 \
|
||||
libfreetype6 \
|
||||
libx11-6 \
|
||||
libx11-xcb1 \
|
||||
libxext6 \
|
||||
libxrender1 \
|
||||
libxcb1 \
|
||||
libxcb-cursor0 \
|
||||
libxcb-glx0 \
|
||||
libxcb-icccm4 \
|
||||
libxcb-image0 \
|
||||
libxcb-keysyms1 \
|
||||
|
|
@ -63,8 +67,23 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||
libxcb-xfixes0 \
|
||||
libxcb-xinerama0 \
|
||||
libxcb-xkb1 \
|
||||
libxkbcommon0 \
|
||||
libxkbcommon-x11-0 \
|
||||
libxkbfile1 \
|
||||
libdbus-1-3 \
|
||||
libxcomposite1 \
|
||||
libxdamage1 \
|
||||
libxi6 \
|
||||
libxrandr2 \
|
||||
libxtst6 \
|
||||
libnss3 \
|
||||
libasound2 \
|
||||
libpulse0 \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install opencode (free AI coding assistant)
|
||||
RUN npm install -g opencode-ai@latest
|
||||
|
||||
# Create a non-root user
|
||||
RUN useradd -m -s /bin/bash user
|
||||
USER user
|
||||
|
|
|
|||
Loading…
Reference in New Issue