experiments

gamerig-tiny (c027d830)

Published 2026-11-27 14:25:39 +00:00 by nandi

Installation

docker pull git.site.latha.org/experiments/gamerig-tiny:c027d830
sha256:27449373e14e15b7724635ae8a15adcb582f869c2307b51f29654e6ad56f87b2

Images

Digest OS / Arch Size
c5fa1d3547 linux/amd64 435 MiB

Image Layers ( linux/amd64)

ARG RELEASE
ARG LAUNCHPAD_BUILD_ARCH
LABEL org.opencontainers.image.version=24.04
ADD file:54dafd97985c3ec227e2c96be9290657cf2ab456885b5fc8a24c9278bca65e60 in /
CMD ["/bin/bash"]
ENV DEBIAN_FRONTEND=noninteractive TZ=UTC LANG=C.UTF-8
RUN /bin/sh -c printf '%s\n' 'path-exclude=/usr/share/doc/*' 'path-include=/usr/share/doc/*/copyright' 'path-exclude=/usr/share/man/*' 'path-exclude=/usr/share/info/*' 'path-exclude=/usr/share/locale/*' 'path-include=/usr/share/locale/locale.alias' 'path-exclude=/usr/share/lintian/*' 'path-exclude=/usr/share/bash-completion/*' > /etc/dpkg/dpkg.cfg.d/01-gamerig-slim # buildkit
RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates curl unzip iproute2 procps kmod dbus dbus-x11 xserver-xorg-core xcvt x11-xserver-utils x11-utils xauth x11-xkb-utils xkb-data libxkbcommon0 openbox wmctrl xdotool xsel pipewire pipewire-pulse wireplumber pulseaudio-utils libpulse0 libopus0 libvulkan1 libx11-6 libxext6 libxrandr2 libxi6 libxcursor1 libxfixes3 libxss1 fonts-dejavu-core && rm -rf /var/lib/apt/lists/* /var/cache/apt/* /var/log/apt /var/log/dpkg.log /var/log/alternatives.log # buildkit
RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends python3 python3-gi python3-setuptools libgirepository-1.0-1 glib-networking libgudev-1.0-0 libgcrypt20 libwayland-client0 libwayland-cursor0 libwayland-egl1 libx11-xcb1 libxcb-dri3-0 libxdamage1 libxv1 libxtst6 libdrm2 libegl1 libgl1 libglx0 libopengl0 libgles2 libx264-164 libopenh264-7 libvpx9 && rm -rf /var/lib/apt/lists/* /var/cache/apt/* /var/log/apt /var/log/dpkg.log /var/log/alternatives.log # buildkit
ARG GHOSTTY_DEB_URL=https://github.com/mkasberg/ghostty-ubuntu/releases/download/1.3.1-0-ppa2/ghostty_1.3.1-0.ppa2_amd64_24.04.deb
ARG GHOSTTY_DEB_SHA256=478d440153ef544426418efc7d6d8901715359f452c46be29071901a94b8cd47
RUN |2 GHOSTTY_DEB_URL=https://github.com/mkasberg/ghostty-ubuntu/releases/download/1.3.1-0-ppa2/ghostty_1.3.1-0.ppa2_amd64_24.04.deb GHOSTTY_DEB_SHA256=478d440153ef544426418efc7d6d8901715359f452c46be29071901a94b8cd47 /bin/sh -c set -eu; curl -fsSL -o /tmp/ghostty.deb "${GHOSTTY_DEB_URL}"; echo "${GHOSTTY_DEB_SHA256} /tmp/ghostty.deb" | sha256sum -c -; apt-get update; apt-get install -y --no-install-recommends /tmp/ghostty.deb; rm -f /tmp/ghostty.deb; ghostty +version; rm -rf /var/lib/apt/lists/* /var/cache/apt/* /var/log/apt /var/log/dpkg.log /var/log/alternatives.log # buildkit
RUN |2 GHOSTTY_DEB_URL=https://github.com/mkasberg/ghostty-ubuntu/releases/download/1.3.1-0-ppa2/ghostty_1.3.1-0.ppa2_amd64_24.04.deb GHOSTTY_DEB_SHA256=478d440153ef544426418efc7d6d8901715359f452c46be29071901a94b8cd47 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends btop htop nvtop nano vim-tiny less && ! command -v sudo && rm -rf /var/lib/apt/lists/* /var/cache/apt/* /var/log/apt /var/log/dpkg.log /var/log/alternatives.log # buildkit
COPY /opt/gstreamer /opt/gstreamer # buildkit
COPY /opt/gst-web /opt/gst-web # buildkit
COPY /usr/local/lib/python3.12/dist-packages /usr/local/lib/python3.12/dist-packages # buildkit
COPY /usr/local/bin/selkies-gstreamer /usr/local/bin/selkies-gstreamer # buildkit
COPY /usr/local/bin/selkies-gstreamer-resize /usr/local/bin/selkies-gstreamer-resize # buildkit
RUN |2 GHOSTTY_DEB_URL=https://github.com/mkasberg/ghostty-ubuntu/releases/download/1.3.1-0-ppa2/ghostty_1.3.1-0.ppa2_amd64_24.04.deb GHOSTTY_DEB_SHA256=478d440153ef544426418efc7d6d8901715359f452c46be29071901a94b8cd47 /bin/sh -c test -x /opt/gstreamer/bin/gst-inspect-1.0 && test -f /opt/gstreamer/gst-env && test -d /opt/gst-web && /usr/bin/python3 -c "import selkies_gstreamer" && test -x /usr/local/bin/selkies-gstreamer # buildkit
RUN |2 GHOSTTY_DEB_URL=https://github.com/mkasberg/ghostty-ubuntu/releases/download/1.3.1-0-ppa2/ghostty_1.3.1-0.ppa2_amd64_24.04.deb GHOSTTY_DEB_SHA256=478d440153ef544426418efc7d6d8901715359f452c46be29071901a94b8cd47 /bin/sh -c apt-get update && apt-get install -y --no-install-recommends libdrm2 libinput10 libseat1 libxkbcommon0 libudev1 && rm -rf /var/lib/apt/lists/* /var/cache/apt/* /var/log/apt /var/log/dpkg.log /var/log/alternatives.log # buildkit
COPY /out/chandra /opt/chandra # buildkit
RUN |2 GHOSTTY_DEB_URL=https://github.com/mkasberg/ghostty-ubuntu/releases/download/1.3.1-0-ppa2/ghostty_1.3.1-0.ppa2_amd64_24.04.deb GHOSTTY_DEB_SHA256=478d440153ef544426418efc7d6d8901715359f452c46be29071901a94b8cd47 /bin/sh -c ! ldd /opt/chandra/wasmhost | grep 'not found' && test -f /opt/chandra/compositor.wasm && test -f /opt/chandra/modules/gamerig-library.wasm # buildkit
ENV HOME=/home/ubuntu USER=ubuntu SHELL=/bin/bash PATH=/usr/local/nvidia/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64 NVIDIA_VISIBLE_DEVICES=all NVIDIA_DRIVER_CAPABILITIES=all __GL_SYNC_TO_VBLANK=0 XDG_RUNTIME_DIR=/tmp/runtime-ubuntu PIPEWIRE_RUNTIME_DIR=/tmp/runtime-ubuntu PULSE_RUNTIME_PATH=/tmp/runtime-ubuntu/pulse PULSE_SERVER=unix:/tmp/runtime-ubuntu/pulse/native DBUS_SYSTEM_BUS_ADDRESS=unix:path=/tmp/runtime-ubuntu/dbus-system-bus PIPEWIRE_LATENCY=128/48000 DISPLAY=:0 SELKIES_ENCODER=nvh264enc SELKIES_VIDEO_BITRATE=16000 SELKIES_FRAMERATE=60 SELKIES_AUDIO_BITRATE=128000 SELKIES_ENABLE_RESIZE=true SELKIES_PORT=8080 GAME_AUTO_LAUNCH=false GAMERIG_DESKTOP_UI=true GAMERIG_TASKBAR=false GAMERIG_DESKTOP_PORT=8091
RUN |2 GHOSTTY_DEB_URL=https://github.com/mkasberg/ghostty-ubuntu/releases/download/1.3.1-0-ppa2/ghostty_1.3.1-0.ppa2_amd64_24.04.deb GHOSTTY_DEB_SHA256=478d440153ef544426418efc7d6d8901715359f452c46be29071901a94b8cd47 /bin/sh -c (id -u ubuntu >/dev/null 2>&1 || useradd -m -s /bin/bash -u 1000 ubuntu) && for g in video render audio input; do getent group "$g" >/dev/null || groupadd -f "$g"; usermod -aG "$g" ubuntu; done && mkdir -p /etc/udev/rules.d && echo 'KERNEL=="uinput", MODE="0666", GROUP="input", OPTIONS+="static_node=uinput"' > /etc/udev/rules.d/99-selkies-uinput.rules && for g in sudo adm; do gpasswd -d ubuntu "$g" >/dev/null 2>&1 || true; done && find / -xdev -type f \( -perm -4000 -o -perm -2000 \) ! -path /usr/lib/dbus-1.0/dbus-daemon-launch-helper -exec chmod ug-s {} + && passwd -l root >/dev/null && passwd -l ubuntu >/dev/null # buildkit
COPY desktop/apps.slim.json /opt/gamerig-desktop/apps.default.json # buildkit
COPY docker/desktop/server.py /opt/gamerig-desktop/ # buildkit
COPY docker/desktop/gamerig_open.py /usr/local/bin/gamerig-open # buildkit
COPY docker/desktop/applications/ /usr/local/share/applications/ # buildkit
COPY docker/snapshot_agent.py /opt/gamerig/snapshot_agent.py # buildkit
COPY /restic /usr/local/bin/restic # buildkit
COPY docker/profile/rig_profile.py /usr/local/bin/gamerig-profile # buildkit
COPY docker/profile/migrations/ /usr/local/lib/gamerig/profile-migrations/ # buildkit
COPY docker/onstart.sh /usr/local/bin/onstart.sh # buildkit
RUN |2 GHOSTTY_DEB_URL=https://github.com/mkasberg/ghostty-ubuntu/releases/download/1.3.1-0-ppa2/ghostty_1.3.1-0.ppa2_amd64_24.04.deb GHOSTTY_DEB_SHA256=478d440153ef544426418efc7d6d8901715359f452c46be29071901a94b8cd47 /bin/sh -c mkdir -p /opt/gamerig-desktop/web && chmod 0755 /opt/gamerig-desktop/server.py /opt/gamerig/snapshot_agent.py /usr/local/bin/onstart.sh /usr/local/bin/gamerig-profile /usr/local/bin/gamerig-open && command -v ghostty && test -f /usr/local/share/applications/gamerig-astra.desktop # buildkit
EXPOSE 50000/udp 50001/udp 50002/udp 50003/udp 50004/udp 50005/udp 50006/udp 50007/udp 8080/tcp 8092/tcp
USER root
ENTRYPOINT ["/usr/local/bin/onstart.sh"]
COPY . /opt/games/astra # buildkit
RUN |2 GHOSTTY_DEB_URL=https://github.com/mkasberg/ghostty-ubuntu/releases/download/1.3.1-0-ppa2/ghostty_1.3.1-0.ppa2_amd64_24.04.deb GHOSTTY_DEB_SHA256=478d440153ef544426418efc7d6d8901715359f452c46be29071901a94b8cd47 /bin/sh -c chmod +x /opt/games/astra/astra && test -x /opt/games/astra/astra # buildkit
ARG GAMERIG_IMAGE_VERSION=c027d830
ENV GAMERIG_IMAGE_VERSION=c027d830

Labels

Key Value
org.opencontainers.image.version 24.04
Details
Container
2026-11-27 14:25:39 +00:00
2
OCI / Docker
Versions (32) View all
latest 2026-11-28
fe8a1192 2026-11-28
14f3fa87 2026-11-28
fe702d04 2026-11-28
bee01fbc 2026-11-27