From 35cee89ada8aff5fca72e778077dfcfb44eb4d2d Mon Sep 17 00:00:00 2001 From: Dominique Marcadet <dominique.marcadet@centralesupelec.fr> Date: Tue, 22 Oct 2024 18:09:38 +0200 Subject: [PATCH] switching to debian because ubuntu:xfce is too buggy and remove nextcloud because useless for students --- Dockerfile | 13 ++++++------- README.md | 4 ++-- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index 608dcc4..0b5ff7f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=${TARGETPLATFORM} lscr.io/linuxserver/webtop:ubuntu-xfce +FROM --platform=${TARGETPLATFORM} lscr.io/linuxserver/webtop:debian-xfce ##Â environment settings ENV HOME="/config" @@ -10,7 +10,6 @@ RUN \ apt-get update && \ apt-get upgrade -y && \ apt-get install -y \ - nextcloud-desktop \ unzip \ zip @@ -27,12 +26,12 @@ COPY /root / ## /config will be a docker volume, initially empty ## wrapper_script will do the copy from /init-config -## but /config must exist fort the mount +## but /config must exist for the mount RUN \ - chown -R abc:abc /config && \ - mv /config /init-config && \ - mkdir /config && \ - chown -R abc:abc /config + chown -R abc:abc /config && \ + mv /config /init-config && \ + mkdir /config && \ + chown -R abc:abc /config ## launch ENTRYPOINT ["/bin/bash", "/usr/local/lib/wrapper_script.sh"] diff --git a/README.md b/README.md index 593ac45..0cd467e 100644 --- a/README.md +++ b/README.md @@ -7,11 +7,11 @@ This image is a base image for a linux with a GUI running either on a local dock It is based on [WebTop image from LinuxServer.io](https://github.com/linuxserver/docker-webtop) which is maintained and quite often updated. -This image use Ubuntu 22.04 and the [Xfce](https://www.xfce.org) window manager. +This image use Debian 12.7 and the [Xfce](https://www.xfce.org) window manager. ## Changes -- Nextcloud and some basic tools (unzip, zip) added. +- Some basic tools (unzip, zip) added. ## Details -- GitLab