mirror of
https://github.com/buanet/ioBroker.docker.git
synced 2025-12-25 17:54:11 +02:00
preparing hotfix for npm issue
This commit is contained in:
@@ -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 \
|
||||
&& 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 \
|
||||
# Temp Fix (Update npm)
|
||||
# Temp Fix (check/log npm version, update npm to latest)
|
||||
&& npm -v \
|
||||
&& npm install -g npm@latest \
|
||||
&& npm -v \
|
||||
|
||||
Reference in New Issue
Block a user