Merge pull request #431 from buanet/fix-node-setup

Fix node setup in Dockerfile / Prepare Hotfix
This commit is contained in:
André Germann
2024-01-24 21:51:24 +01:00
committed by GitHub
3 changed files with 5 additions and 5 deletions

View File

@@ -1 +1 @@
v9.1.0
v9.1.1

View File

@@ -1,5 +1,8 @@
## Changelog
### v9.1.1 (24.01.2024)
* fix node js setup
### v9.1.0 (19.01.2024)
* update docs and ci
* v9.1.0-beta.4 (08.01.2024)

View File

@@ -38,15 +38,12 @@ RUN apt-get update && apt-get upgrade -y \
tzdata \
udev \
wget \
# teporär
&& apt-get install -q -y --no-install-recommends sudo \
# Install node
&& mkdir -p /etc/apt/keyrings \
&& 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_${NODE}.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \
&& printf "Package: *\nPin: origin deb.nodesource.com\nPin-Priority: 1001\n" > /etc/apt/preferences.d/nodesource \
&& apt-get update && apt-get install -q -y --no-install-recommends nodejs \
# Check for and install npm if not installed (no longer comes with nodejs? Bug?)
&& npm --version || apt-get install -q -y --no-install-recommends npm \
# Install node-gyp
&& npm install --production -g node-gyp \
# Generating locales