Skip to content

Commit

Permalink
Merge pull request #431 from buanet/fix-node-setup
Browse files Browse the repository at this point in the history
Fix node setup in Dockerfile / Prepare Hotfix
  • Loading branch information
buanet committed Jan 24, 2024
2 parents a53b5e9 + e24d7c5 commit 6a481b9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .VERSION
@@ -1 +1 @@
v9.1.0
v9.1.1
3 changes: 3 additions & 0 deletions CHANGELOG.md
@@ -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)
Expand Down
5 changes: 1 addition & 4 deletions debian12/Dockerfile
Expand Up @@ -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
Expand Down

0 comments on commit 6a481b9

Please sign in to comment.