neko (xfce-custom)

Published 2024-05-25 14:09:08 +12:00 by Ayaka in iridium/neko-apps

Installation

docker pull git.stardust.wtf/iridium/neko:xfce-custom
sha256:c2e449633475878ca604daf2075386f9aed9dce328fcb4e7b4067207f152a9bc

Image Layers

ADD file:3cd55ecee0ffd78be95dd5842ecd3171631aaccaae50fe41f6bf60ad5be6aaa9 in /
CMD ["bash"]
ENV DEBIAN_FRONTEND=noninteractive
ARG USERNAME=neko
ARG USER_UID=1000
ARG USER_GID=1000
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 supervisor; apt-get install -y --no-install-recommends pulseaudio dbus-x11 xserver-xorg-video-dummy; apt-get install -y --no-install-recommends libcairo2 libxcb1 libxrandr2 libxv1 libopus0 libvpx6; apt-get install -y --no-install-recommends libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-pulseaudio; apt-get install -y --no-install-recommends fonts-noto-color-emoji fonts-takao-mincho fonts-wqy-zenhei xfonts-intl-chinese xfonts-wqy fonts-wqy-microhei; 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 clean -y; rm -rf /var/lib/apt/lists/* /var/cache/apt/* # buildkit
COPY .docker/base/dbus /usr/bin/dbus # buildkit
COPY .docker/base/default.pa /etc/pulse/default.pa # buildkit
COPY .docker/base/supervisord.conf /etc/neko/supervisord.conf # buildkit
COPY .docker/base/xorg.conf /etc/neko/xorg.conf # buildkit
ENV USER=neko
ENV DISPLAY=:99.0
ENV PULSE_SERVER=unix:/tmp/pulseaudio.socket
ENV XDG_RUNTIME_DIR=/tmp/runtime-neko
ENV NEKO_PASSWORD=neko
ENV NEKO_PASSWORD_ADMIN=admin
ENV NEKO_BIND=:8080
COPY /src/bin/neko /usr/bin/neko # buildkit
COPY /src/dist/ /var/www # buildkit
HEALTHCHECK &{["CMD-SHELL" "wget -O - http://localhost:${NEKO_BIND#*:}/health || exit 1"] "10s" "5s" "0s" '\b'}
CMD ["/usr/bin/supervisord" "-c" "/etc/neko/supervisord.conf"]
ENV BROWSER=
/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends xfce4 xfce4-terminal sudo; apt-get install -y wget curl gnupg lsb-release apt-transport-https ca-certificates git nano sxiv mpv rsync kwrite xwallpaper aria2 zsh
/bin/sh -c set -eux; curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /bin/yt-dlp; chmod a+rx /bin/yt-dlp; usermod -aG sudo neko; echo "neko:neko" | chpasswd; echo "%sudo ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers; curl https://deb.librewolf.net/keyring.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/librewolf.gpg >/dev/null; echo "deb [arch=amd64 signed-by=/usr/share/keyrings/librewolf.gpg] http://deb.librewolf.net $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/librewolf.list; apt-get update; apt-get install librewolf -y; apt-get clean -y; rm -rf /var/lib/apt/lists/* /var/cache/apt/*
/bin/sh -c set -eux; chsh --shell /usr/bin/zsh neko; sudo -u neko sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended
COPY dir:cdf503786238a9b3dad2e129595db1f8aeb1c075bef42f548fcb38dadb1c0a0a in /dots
/bin/sh -c set -eux; rsync --recursive /dots/ /
COPY file:6a1d635cfd1fa3ffe795f89099bb22028d5a858fca73cc88eb366881af516190 in /etc/neko/supervisord/xfce.conf
Details
Container
2024-05-25 14:09:08 +12:00
7
OCI / Docker
linux/amd64
611 MiB
Versions (2) View all
xfce-custom 2024-05-25
xfce 2024-03-30