From 5cc3a8783bc03facd7dcd54050fac727cb8fbcec Mon Sep 17 00:00:00 2001 From: Jason Morganson <128727+jasonmorganson@users.noreply.github.com> Date: Tue, 29 Aug 2023 22:03:58 +0000 Subject: [PATCH] Set user to codespace --- Dockerfile | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 09e1dfb1..305b358d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,15 +1,10 @@ FROM mcr.microsoft.com/devcontainers/universal:linux -ARG USER=codespace - -ENV USER=$USER \ - HOME=/home/$USER - -USER $USER +USER codespace WORKDIR /workspaces/.codespaces/.persistedshare/dotfiles -COPY --chown=$USER . . +COPY . . RUN ./install.sh