Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions dockerfiles/node/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ FROM ${BASE_IMAGE}

ARG NODE_VERSION

USER vscode
RUN apt-get update -y

RUN sudo apt-get update -y

RUN curl -fsSL https://deb.nodesource.com/setup_${NODE_VERSION} | sudo -E bash - &&\
sudo apt-get install -y nodejs
RUN curl -fsSL https://deb.nodesource.com/setup_${NODE_VERSION} | bash - &&\
apt-get install -y nodejs