neko-apps (vscode)

Published 2025-05-25 23:41:51 +00:00 by sascha in sascha/neko-apps

Installation

docker pull git.k8s.software-sl.de/sascha/neko-apps:vscode
sha256:e797836d078b72e9f9acbb8fcfffd3c0d378e0739666f690e7122b8f7bf87d5c

About this package

A self hosted virtual browser that runs in docker and uses WebRTC.

Image layers

# debian.sh --arch 'amd64' out/ 'bullseye' '@1745798400'
ARG USERNAME=neko
ARG USER_UID=1000
ARG USER_GID=1000
ENV DEBIAN_FRONTEND=noninteractive
RUN |3 USERNAME=neko USER_UID=1000 USER_GID=1000 /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends wget ca-certificates python2 supervisor pulseaudio dbus-x11 xserver-xorg-video-dummy libcairo2 libxcb1 libxrandr2 libxv1 libopus0 libvpx6 zip curl xdotool xclip libgtk-3-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-pulseaudio gstreamer1.0-omx; ARCH=$(dpkg --print-architecture); wget http://ftp.de.debian.org/debian/pool/main/libx/libxcvt/libxcvt0_0.1.2-1_${ARCH}.deb; apt-get install --no-install-recommends ./libxcvt0_0.1.2-1_${ARCH}.deb; rm ./libxcvt0_0.1.2-1_${ARCH}.deb; groupadd --gid $USER_GID $USERNAME; useradd --uid $USER_UID --gid $USERNAME --shell /bin/bash --create-home $USERNAME; adduser $USERNAME audio; adduser $USERNAME video; adduser $USERNAME pulse; mkdir /tmp/.X11-unix; chmod 1777 /tmp/.X11-unix; chown $USERNAME /tmp/.X11-unix/; mkdir -p /etc/neko /var/www /var/log/neko /tmp/runtime-$USERNAME /home/$USERNAME/.config/pulse /home/$USERNAME/.local/share/xorg; chmod 1777 /var/log/neko; chown $USERNAME /var/log/neko/ /tmp/runtime-$USERNAME; chown -R $USERNAME:$USERNAME /home/$USERNAME; apt-get install -y --no-install-recommends fonts-noto-color-emoji fonts-arphic-ukai fonts-arphic-uming fonts-wqy-zenhei xfonts-intl-chinese xfonts-wqy fonts-ipafont-mincho fonts-ipafont-gothic fonts-takao-mincho fonts-unfonts-core fonts-wqy-microhei fonts-indic; apt-get clean -y; rm -rf /var/lib/apt/lists/* /var/cache/apt/* # buildkit
COPY --chown=neko:neko runtime/.Xresources /home/neko/.Xresources # buildkit
COPY runtime/dbus /usr/bin/dbus # buildkit
COPY runtime/default.pa /etc/pulse/default.pa # buildkit
COPY runtime/supervisord.conf /etc/neko/supervisord.conf # buildkit
COPY runtime/supervisord.dbus.conf /etc/neko/supervisord.dbus.conf # buildkit
COPY runtime/xorg.conf /etc/neko/xorg.conf # buildkit
COPY --chown=neko:neko runtime/icon-theme /home/neko/.icons/default # buildkit
COPY runtime/fontconfig/* /etc/fonts/conf.d/ # buildkit
COPY runtime/fonts /usr/local/share/fonts # buildkit
ENV USER=neko
ENV DISPLAY=:99.0
ENV PULSE_SERVER=unix:/tmp/pulseaudio.socket
ENV XDG_RUNTIME_DIR=/tmp/runtime-neko
ENV NEKO_SERVER_BIND=:8080
ENV NEKO_PLUGINS_ENABLED=true
ENV NEKO_PLUGINS_DIR=/etc/neko/plugins/
HEALTHCHECK &{["CMD-SHELL" "wget -O - http://localhost:${NEKO_SERVER_BIND#*:}/health || wget --no-check-certificate -O - https://localhost:${NEKO_SERVER_BIND#*:}/health || exit 1"] "10s" "5s" "0s" "0s" '\b'}
CMD ["/usr/bin/supervisord" "-c" "/etc/neko/supervisord.conf"]
LABEL net.m1k1o.neko.api-version=3
COPY /src/bin/plugins/ /etc/neko/plugins/ # buildkit
COPY /src/bin/neko /usr/bin/neko # buildkit
COPY /src/dist/ /var/www # buildkit
COPY /usr/local/lib/xorg/modules/drivers/dummy_drv.so /usr/lib/xorg/modules/drivers/dummy_drv.so # buildkit
COPY /usr/local/lib/xorg/modules/input/neko_drv.so /usr/lib/xorg/modules/input/neko_drv.so # buildkit
COPY config.yml /etc/neko/neko.yaml # buildkit
ARG SRC_URL=https://go.microsoft.com/fwlink/?LinkID=760868
|1 SRC_URL=https://go.microsoft.com/fwlink/?LinkID=760868 /bin/sh -c set -eux; apt-get update; wget -O /tmp/vscode.deb "${SRC_URL}"; apt-get install -y --no-install-recommends gnupg openbox /tmp/vscode.deb; apt-get install -f; apt-get clean -y; rm -rf /var/lib/apt/lists/* /var/cache/apt/* /tmp/*;
COPY file:dadc6be34670538267acb0a6016ea42de45d86bdc705ce690e5c13782aad137a in /etc/neko/supervisord/vscode.conf
COPY file:f67777e04aed16a918c23b5841d2ac5e71c0333435913371d565cf45a9f0de9d in /etc/neko/openbox.xml
LABEL org.opencontainers.image.created=2025-05-25T23:36:57Z
LABEL org.opencontainers.image.revision=809750e4b36c651b311347aa2c888e77421f46cf
LABEL org.opencontainers.image.source=https://git.k8s.software-sl.de/sascha/neko-apps.git
LABEL org.opencontainers.image.url=https://git.k8s.software-sl.de/sascha/neko-apps

Labels

Key Value
net.m1k1o.neko.api-version 3
org.opencontainers.image.created 2025-05-25T23:36:57Z
org.opencontainers.image.description A self hosted virtual browser that runs in docker and uses WebRTC.
org.opencontainers.image.licenses Apache-2.0
org.opencontainers.image.revision 809750e4b36c651b311347aa2c888e77421f46cf
org.opencontainers.image.source https://git.k8s.software-sl.de/sascha/neko-apps.git
org.opencontainers.image.title neko
org.opencontainers.image.url https://git.k8s.software-sl.de/sascha/neko-apps
org.opencontainers.image.version base
Details
Container
2025-05-25 23:41:51 +00:00
4
OCI / Docker
linux/amd64
Apache-2.0
515 MiB
Versions (2) View all
idea 2025-05-26
vscode 2025-05-25