aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/node/devcontainer-feature.json2
-rwxr-xr-xsrc/node/install.sh6
2 files changed, 1 insertions, 7 deletions
diff --git a/src/node/devcontainer-feature.json b/src/node/devcontainer-feature.json
index 9bf90b6..0e74ea4 100644
--- a/src/node/devcontainer-feature.json
+++ b/src/node/devcontainer-feature.json
@@ -1,6 +1,6 @@
{
"id": "node",
- "version": "1.2.0",
+ "version": "1.2.1",
"name": "Node.js (via nvm), yarn and pnpm",
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/node",
"description": "Installs Node.js, nvm, yarn, pnpm, and needed dependencies.",
diff --git a/src/node/install.sh b/src/node/install.sh
index 9048ac2..edaa8ab 100755
--- a/src/node/install.sh
+++ b/src/node/install.sh
@@ -221,10 +221,4 @@ fi
su ${USERNAME} -c "umask 0002 && . $NVM_DIR/nvm.sh && nvm clear-cache"
rm -rf /var/lib/apt/lists/*
-# Ensure privs are correct for installed node versions. Unfortunately the
-# way nvm installs node versions pulls privs from the tar which does not
-# have group write set. We need this when the gid/uid is updated.
-mkdir -p "${NVM_DIR}/versions"
-chmod -R g+rw "${NVM_DIR}/versions"
-
echo "Done!"