diff --git a/i3/Dockerfile b/i3/Dockerfile index 88918ee..7150eae 100644 --- a/i3/Dockerfile +++ b/i3/Dockerfile @@ -2,6 +2,9 @@ FROM alpine/base USER root +# Build ARG: use "root" for debugging +ARG debug + # X session environment variable ENV STARTXBIN=i3 @@ -14,5 +17,5 @@ RUN apk add --no-cache \ # Tigervnc initialization scripts COPY *.sh /app/init.d/ -# Reset user home directory -USER user +# Reset user +USER ${debug:-user} \ No newline at end of file