We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 546d7e1 commit cd3273eCopy full SHA for cd3273e
Dockerfile
@@ -1,12 +1,12 @@
1
FROM debian:bullseye-slim AS base-with-deps
2
ARG USERNAME=vscode
3
RUN apt-get update && apt-get install -y curl
4
-RUN groupadd -r $USERNAME \
5
- && useradd --no-log-init -rm -d /home/$USERNAME -s /bin/bash -g $USERNAME $USERNAME
6
-USER $USERNAME
7
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | bash \
8
&& . ~/.nvm/nvm.sh \
9
&& nvm install --lts=hydrogen
+RUN groupadd -r $USERNAME \
+ && useradd --no-log-init -rm -d /home/$USERNAME -s /bin/bash -g $USERNAME $USERNAME
+USER $USERNAME
10
WORKDIR /home/$USERNAME
11
12
# copy local repo into a volume
0 commit comments