Download Dockerfile from Mythus/xfce: direct link, hf CLI and curl.
- Browser
- Download file 489 Bytes
-
https://huggingface.co/spaces/Mythus/xfce/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Mythus/xfce/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Mythus/xfce/resolve/main/Dockerfile
489 Bytes
| ARG BASE_IMAGE=m1k1o/neko:base | |
| FROM $BASE_IMAGE | |
| # | |
| # install xfce | |
| RUN set -eux; apt-get update; \ | |
| apt-get install -y --no-install-recommends xfce4 xfce4-terminal sudo; \ | |
| # | |
| # add user to sudoers | |
| usermod -aG neko; \ | |
| echo "neko:neko" | chpasswd; \ | |
| echo "%ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers; \ | |
| # clean up | |
| apt-get clean -y; \ | |
| rm -rf /var/lib/apt/lists/* /var/cache/apt/* | |
| # | |
| # copy configuation files | |
| COPY supervisord.conf /etc/neko/supervisord/xfce.conf |