Files
neko/Dockerfile

48 lines
1.4 KiB
Docker
Raw Normal View History

2025-09-27 18:15:52 +04:00
FROM ghcr.io/m1k1o/neko/base:3.0.8
# copy sources list file
COPY sources.list /etc/apt/sources.list
ENV DEBIAN_FRONTEND=noninteractive
# update the system
RUN set -eux; \
apt-get update; \
apt-get -y upgrade;
# install xfce
RUN set -eux; \
apt-get install -y --no-install-recommends -o Dpkg::Options::="--force-confnew" xfce4 xfce4-terminal sudo vim curl
# install brave
RUN set -eux; \
curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg \
https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg; \
echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https://brave-browser-apt-release.s3.brave.com/ stable main" | \
tee /etc/apt/sources.list.d/brave-browser-release.list; \
2025-09-27 19:45:37 +04:00
apt update; \
apt install -y brave-browser
2025-09-27 18:15:52 +04:00
# install transmission and VLC
RUN set -eux; \
apt-get install -y transmission-gtk vlc
2025-09-27 19:45:37 +04:00
# install gstreamer plugins
RUN set -eux; \
apt-get install -y gstreamer1.0-plugins-good gstreamer1.0-plugins-bad
2025-09-27 18:15:52 +04:00
# add user to sudoers
RUN set -eux; \
usermod -aG sudo neko; \
echo "neko:neko" | chpasswd; \
echo "%sudo ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
# clean up
RUN set -eux; \
apt-get clean -y; \
rm -rf /var/lib/apt/lists/* /var/cache/apt/*
# copy configuation files
COPY supervisord.conf /etc/neko/supervisord/xfce.conf
VOLUME /home/neko