summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeonXP <i@neonxp.ru>2024-01-28 18:16:38 +0300
committerNeonXP <i@neonxp.ru>2024-01-28 18:16:38 +0300
commit6c00916212073678bbeb3bdde3f121c4efad707a (patch)
treebfee58f708c6e21d37847cb3c30ec2515340a92a
parent459751fcc67367dc692b62127251d9b149e39e3b (diff)
nodejs added
-rw-r--r--Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index f949369..27386ff 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -6,8 +6,8 @@ RUN export DEBIAN_FRONTEND=noninteractive && apt-get update && \
add-apt-repository ppa:longsleep/golang-backports && \
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && \
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_21.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list && \
- apt-get -y install --no-install-recommends gnupg2 procps sudo git libpq-dev make golang nodejs npm && \
apt-get update && \
+ apt-get -y install --no-install-recommends gnupg2 procps sudo git libpq-dev make golang nodejs && \
useradd -m -d /home/vscode -s /bin/bash vscode && adduser vscode sudo && echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
USER vscode