neko (xfce-custom-2024-12-11)
Installation
docker pull git.stardust.wtf/iridium/neko:xfce-custom-2024-12-11
sha256:2499c5db64344de82e5be5bea5fcf600c7e930e713de87f35d4bedede5c7522e
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=librewolf |
RUN /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 # buildkit |
RUN /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; sudo apt-get update; sudo apt-get install extrepo -y; sudo extrepo enable librewolf; sudo apt-get update; sudo apt-get install librewolf -y; apt-get clean -y; rm -rf /var/lib/apt/lists/* /var/cache/apt/* # buildkit |
RUN /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 # buildkit |
COPY dots /dots # buildkit |
RUN /bin/sh -c set -eux; rsync -og --chown=neko:neko --recursive /dots/ / # buildkit |
COPY supervisord.conf /etc/neko/supervisord/xfce.conf # buildkit |
Details
Versions (4)
View all