From 914ff0f4e29164b9935ff913d2efa5c6d92dc937 Mon Sep 17 00:00:00 2001 From: cirolosapio Date: Wed, 17 Jan 2024 10:41:07 +0100 Subject: [PATCH] update alpine-node --- src/alpine-node/README.md | 1 - src/alpine-node/devcontainer-feature.json | 7 +------ src/alpine-node/install.sh | 6 +----- 3 files changed, 2 insertions(+), 12 deletions(-) diff --git a/src/alpine-node/README.md b/src/alpine-node/README.md index 6c083a5..7cb3525 100644 --- a/src/alpine-node/README.md +++ b/src/alpine-node/README.md @@ -15,7 +15,6 @@ Installs node and npm on alpine | Options Id | Description | Type | Default Value | |-----|-----|-----|-----| -| lts | Install LTS node version | boolean | true | | corepack | Enable corepack | boolean | true | | pnpmVersion | Specify pnpm version | string | latest | | globalPackages | List of global packages to install | string | - | diff --git a/src/alpine-node/devcontainer-feature.json b/src/alpine-node/devcontainer-feature.json index 27a12af..901688d 100644 --- a/src/alpine-node/devcontainer-feature.json +++ b/src/alpine-node/devcontainer-feature.json @@ -1,15 +1,10 @@ { "name": "alpine-node", "id": "alpine-node", - "version": "0.0.8", + "version": "0.0.9", "description": "Installs node and npm on alpine", "documentationURL": "https://github.com/cirolosapio/devcontainers-features/tree/main/src/alpine-node", "options": { - "lts": { - "type": "boolean", - "default": true, - "description": "Install LTS node version" - }, "corepack": { "type": "boolean", "default": true, diff --git a/src/alpine-node/install.sh b/src/alpine-node/install.sh index 9202c6e..50ad4df 100644 --- a/src/alpine-node/install.sh +++ b/src/alpine-node/install.sh @@ -4,11 +4,7 @@ set -e echo "Activating feature 'alpine-node'" -if [[ $LTS == "true" ]]; then - apk add --no-cache nodejs-lts npm -else - apk add --no-cache nodejs npm -fi +apk add --no-cache nodejs npm if [[ $COREPACK == "true" ]]; then npm i -g corepack