xpod

A minimal container build of X11 with VNC support.
git clone https://unitehenry.com/git/xpod.git
Log | Files | Refs | README

commit bb419b30c78c87653cb11d0489b37a097d5eea3a
parent d47772c45bd066e15c5735f65f85277d26b21355
Author: Henry Unite <unitehenry@gmail.com>
Date:   Sun, 19 Jul 2026 00:20:59 +0000

feat: chromium profiles

Diffstat:
Mapps/chromium/Containerfile | 12+++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/apps/chromium/Containerfile b/apps/chromium/Containerfile @@ -3,6 +3,7 @@ FROM xpod-base RUN add-apt-repository ppa:xtradeb/apps -y \ && apt-get update \ && apt-get install -y chromium \ + && apt-get install -y socat \ && rm -rf /var/lib/apt/lists/* \ && apt-get clean @@ -12,10 +13,19 @@ COPY <<'EOF' /app.sh #!/bin/bash set -e +socat TCP-LISTEN:9222,bind=0.0.0.0,reuseaddr,fork TCP6:[::1]:9222 & + +mkdir -p /var/lib/chromium +chmod -R 777 /var/lib/chromium +rm -rf /var/lib/chromium/profile/Singleton* + CHROMIUM_WIDTH=${RESOLUTION%%x*} CHROMIUM_HEIGHT=${RESOLUTION#*x}; CHROMIUM_HEIGHT=${CHROMIUM_HEIGHT%%x*} -su -c "chromium --disable-gpu --start-maximized --window-size=${CHROMIUM_WIDTH},${CHROMIUM_HEIGHT} --force-device-scale-factor=1" chrome + +su -c "chromium --disable-gpu --start-maximized --window-size=${CHROMIUM_WIDTH},${CHROMIUM_HEIGHT} --force-device-scale-factor=1 --remote-debugging-port=9222 --user-data-dir=/var/lib/chromium/profile" chrome EOF RUN chmod +x /app.sh + +EXPOSE 9222