Skip to content

Commit c91169d

Browse files
committed
fix permissions
1 parent 8cd2d18 commit c91169d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,13 @@ RUN echo 'conda activate basesspcloud' >> /home/coder/.bashrc
3636
ENV PATH="/home/coder/local/bin/conda/envs/basesspcloud/bin:${PATH}"
3737
RUN echo "export PATH=$PATH" >> /home/coder/.bashrc
3838

39+
# Switch back to non-root user
40+
USER coder
41+
3942
# Additional VSCode settings
4043
RUN mkdir -p /home/coder/.local/share/code-server/User/
4144
COPY settings.json /home/coder/.local/share/code-server/User/settings.json
4245

43-
USER coder
44-
4546
# INSTALL VSTUDIO EXTENSIONS
4647
RUN code-server --install-extension ms-python.python
4748
RUN code-server --install-extension ms-kubernetes-tools.vscode-kubernetes-tools

0 commit comments

Comments
 (0)