From c07270341233046693f7281557e319024217be12 Mon Sep 17 00:00:00 2001 From: myve Date: Sun, 21 Jul 2024 18:47:09 +0000 Subject: [PATCH] Update plasma/Dockerfile --- plasma/Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/plasma/Dockerfile b/plasma/Dockerfile index cf91711..a89cbff 100644 --- a/plasma/Dockerfile +++ b/plasma/Dockerfile @@ -2,6 +2,9 @@ FROM alpine/base USER root +# Build ARG: use "root" for debugging +ARG debug + # X session environment variable ENV STARTXBIN=startplasma-x11 @@ -16,5 +19,5 @@ RUN apk add --no-cache \ # Tigervnc initialization scripts COPY *.sh /app/init.d/ -# Reset user home directory -USER user +# Default environment +USER ${debug:-user} \ No newline at end of file