Skip to content

Commit

Permalink
Set user to codespace
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonmorganson committed Aug 30, 2023
1 parent dbaf41f commit 5cc3a87
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit 5cc3a87

Please sign in to comment.