From 3ec224508a0987d807b8b8306ebe6da3cc9a4746 Mon Sep 17 00:00:00 2001 From: Stefano Alberto Russo <stefano.russo@gmail.com> Date: Thu, 4 Jun 2020 14:01:50 +0200 Subject: [PATCH] Fixed bug that caused the /home folder not to be writable anymore after installing Xfce.y --- BasicMetaDesktop/Dockerfile | 7 ++++++- MinimalMetaDesktop/Dockerfile | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/BasicMetaDesktop/Dockerfile b/BasicMetaDesktop/Dockerfile index 723ce7f..75b8c90 100644 --- a/BasicMetaDesktop/Dockerfile +++ b/BasicMetaDesktop/Dockerfile @@ -86,9 +86,14 @@ RUN gdebi /root/dropbox_2015.10.28_amd64.deb -n COPY files/runshell.sh /bin/ RUN chmod 755 /bin/runshell.sh - +# Set conatiner name for prompt ENV CONTAINER_NAME='basicmetadesktop' +# Giveagain, since xfce install "fixed" it) write access to anyone to the home folder so the entrypoint +# will be able to copy over the /home/matauser_vanilla into /home/metauser (for Singularity) +RUN chmod 777 /home + +# Switch back to metauser USER metauser diff --git a/MinimalMetaDesktop/Dockerfile b/MinimalMetaDesktop/Dockerfile index 6499c5d..e4e82a2 100644 --- a/MinimalMetaDesktop/Dockerfile +++ b/MinimalMetaDesktop/Dockerfile @@ -89,7 +89,7 @@ RUN chown -R metauser:metauser /metauser_home_vanilla/.fluxbox COPY files/background.jpg /usr/share/images/fluxbox/background.jpg # Give write access to anyone to the home folder so the entrypoint will be able -# to copy over the /home/matauser_vanilla into /home/metause (for Singularity) +# to copy over the /home/matauser_vanilla into /home/metauser (for Singularity) RUN chmod 777 /home -- GitLab