From dc594d213ef2a363ae27948fa8e9b40e05534244 Mon Sep 17 00:00:00 2001 From: Paul Bergmann Date: Tue, 1 Jun 2021 18:10:17 +0200 Subject: [PATCH] ubuntu-vnc: Fix permissions on IceWM config copy Be default, COPY gives the created files {U,G}ID 0. --- src/ubuntu-vnc/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ubuntu-vnc/Dockerfile b/src/ubuntu-vnc/Dockerfile index 8f411f0..1c2a133 100644 --- a/src/ubuntu-vnc/Dockerfile +++ b/src/ubuntu-vnc/Dockerfile @@ -23,6 +23,6 @@ COPY sshd_config /etc/ssh/sshd_config RUN useradd -ms /bin/bash default WORKDIR $HOME USER default -COPY .icewm $HOME/.icewm/ +COPY --chown=default:default .icewm $HOME/.icewm/ ENTRYPOINT ["/docker/startup.sh"]