mirror of
https://github.com/buanet/ioBroker.docker.git
synced 2025-12-30 20:56:21 +02:00
preparing hotfix for npm issue
This commit is contained in:
@@ -1,5 +1,8 @@
|
|||||||
## Changelog
|
## Changelog
|
||||||
|
|
||||||
|
### v9.1.2 (05.04.2024)
|
||||||
|
* fix build process by updating npm to latest
|
||||||
|
|
||||||
### v9.1.1 (24.01.2024)
|
### v9.1.1 (24.01.2024)
|
||||||
* fix node js setup
|
* fix node js setup
|
||||||
|
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ RUN apt-get update && apt-get upgrade -y \
|
|||||||
&& 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 \
|
&& 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 \
|
&& 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 \
|
&& apt-get update && apt-get install -q -y --no-install-recommends nodejs \
|
||||||
# Temp Fix (Update npm)
|
# Temp Fix (check/log npm version, update npm to latest)
|
||||||
&& npm -v \
|
&& npm -v \
|
||||||
&& npm install -g npm@latest \
|
&& npm install -g npm@latest \
|
||||||
&& npm -v \
|
&& npm -v \
|
||||||
|
|||||||
Reference in New Issue
Block a user