Files
neko/Dockerfile
Vladimir Hodakov 21810d7fe3
All checks were successful
ci/woodpecker/push/build/1 Pipeline was successful
ci/woodpecker/push/build/2 Pipeline was successful
ci/woodpecker/push/tag Pipeline was successful
Add more codecs
2025-09-27 21:10:26 +04:00

50 lines
1.5 KiB
Docker

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-confold" xfce4 xfce4-terminal sudo vim curl pavucontrol
# 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; \
apt update; \
apt install -y brave-browser
# install transmission and VLC
RUN set -eux; \
apt-get install -y transmission-gtk vlc
# install gstreamer plugins
RUN set -eux; \
apt-get install -y gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly gstreamer1.0-plugins-bad; \
apt-get install -y gstreamer1.0-libav gstreamer1.0-tools
# 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
COPY brave-browser.desktop /usr/share/applications/
VOLUME /home/neko