File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,9 @@ ARG QUARTO_VERSION="0.9.508"
14
14
RUN wget "https://github.com/quarto-dev/quarto-cli/releases/download/v${QUARTO_VERSION}/quarto-${QUARTO_VERSION}-linux-amd64.deb"
15
15
RUN apt install "./quarto-${QUARTO_VERSION}-linux-amd64.deb"
16
16
17
+ # Switch back to non-root user
18
+ USER coder
19
+
17
20
# INSTALL MINICONDA -------------------------------
18
21
ARG CONDA_DIR=/home/coder/local/bin/conda
19
22
RUN wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
@@ -36,9 +39,6 @@ RUN echo 'conda activate basesspcloud' >> /home/coder/.bashrc
36
39
ENV PATH="/home/coder/local/bin/conda/envs/basesspcloud/bin:${PATH}"
37
40
RUN echo "export PATH=$PATH" >> /home/coder/.bashrc
38
41
39
- # Switch back to non-root user
40
- USER coder
41
-
42
42
# Additional VSCode settings
43
43
RUN mkdir -p /home/coder/.local/share/code-server/User/
44
44
COPY --chown=coder:coder settings/User.json /home/coder/.local/share/code-server/User/settings.json
You can’t perform that action at this time.
0 commit comments