ARG BASE_IMAGE=m1k1o/neko:base FROM $BASE_IMAGE ENV BROWSER=librewolf # # Install desktop and other programs RUN 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 RUN set -eux; \ # ## Install yt-dlp curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /bin/yt-dlp; \ chmod a+rx /bin/yt-dlp; \ # # Add user to sudoers usermod -aG sudo neko; \ echo "neko:neko" | chpasswd; \ echo "%sudo ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers; \ # # Install Librewolf 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; \ # # Install FreeTube #export VER="0.19.2"; \ #wget https://github.com/FreeTubeApp/FreeTube/releases/download/v${VER}-beta/FreeTube_${VER}_amd64.deb; \ #apt-get install -f ./FreeTube_${VER}_amd64.deb -y; \ # clean up apt-get clean -y; \ rm -rf /var/lib/apt/lists/* /var/cache/apt/* # # Copy dotfiles COPY dots /dots RUN set -eux; rsync --recursive /dots/ / # # Copy configuation files COPY supervisord.conf /etc/neko/supervisord/xfce.conf