From 7a92e14c2d65f40ddc03b1a123f2c5a53bd2df77 Mon Sep 17 00:00:00 2001 From: Ryan Ahearn Date: Mon, 8 Aug 2022 14:42:05 -0400 Subject: [PATCH] Use nodejs 16.15.1 everywhere apt version of nodejs is extremely old --- .nvmrc | 2 +- devcontainer-admin/Dockerfile | 17 +++++------------ 2 files changed, 6 insertions(+), 13 deletions(-) diff --git a/.nvmrc b/.nvmrc index 0b77208ae..d9289897d 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -16.14.0 \ No newline at end of file +16.15.1 diff --git a/devcontainer-admin/Dockerfile b/devcontainer-admin/Dockerfile index 0b6616235..a0a18503a 100644 --- a/devcontainer-admin/Dockerfile +++ b/devcontainer-admin/Dockerfile @@ -12,18 +12,16 @@ RUN apt-get update \ emacs \ exa \ fd-find \ - git \ + git \ iproute2 \ - less \ + less \ libsodium-dev \ - lsb-release \ + lsb-release \ man-db \ manpages \ net-tools \ - nodejs \ - npm \ - openssh-client \ - procps \ + openssh-client \ + procps \ sudo \ tldr \ unzip \ @@ -32,9 +30,6 @@ RUN apt-get update \ && apt-get clean -y \ && rm -rf /var/lib/apt/lists/* -RUN echo $(node --version) -RUN echo $(npm --version) - # Upgrade pip RUN pip install --upgrade pip @@ -45,8 +40,6 @@ COPY package-lock.json ./ COPY package.json ./ COPY devcontainer-admin/scripts/notify-admin-entrypoint.sh ./ -RUN npm ci --no-audit - ENV SHELL /bin/zsh EXPOSE 6012