From ee71d3a7066221626ee0ab28760b7ae903857741 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= <valtri@civ.zcu.cz> Date: Tue, 14 May 2024 01:14:07 +0200 Subject: [PATCH] Touch rclone config to get rid of the warning for jovyan user --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 566e4ee..9905d6b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,6 +16,10 @@ RUN sed -ie 's/#\s*\(user_allow_other\)/\1/' /etc/fuse.conf # create jovyan user RUN adduser -u $JOVYAN_UID -g $JOVYAN_GRP -D jovyan +USER jovyan +RUN rclone config touch +USER '' + COPY mount.sh /usr/local/bin/ ENTRYPOINT [ "tini", "-g", "--", "mount.sh" ] -- GitLab