mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-04-04 22:04:25 +02:00
node-red: npm install --unsafe-perm
This commit is contained in:
parent
600663d6f8
commit
b47bbea3db
@ -11,9 +11,9 @@ RUN set -xe \
|
|||||||
nodejs-lts \
|
nodejs-lts \
|
||||||
python \
|
python \
|
||||||
python-dev \
|
python-dev \
|
||||||
&& npm install -g node-red \
|
&& npm install -g --unsafe-perm node-red \
|
||||||
node-red-admin \
|
node-red-admin \
|
||||||
node-red-dashboard \
|
node-red-dashboard \
|
||||||
&& apk del build-base \
|
&& apk del build-base \
|
||||||
python-dev \
|
python-dev \
|
||||||
&& rm -rf /tmp/npm-*
|
&& rm -rf /tmp/npm-*
|
||||||
|
@ -15,9 +15,9 @@ RUN set -xe \
|
|||||||
sudo \
|
sudo \
|
||||||
&& curl https://bootstrap.pypa.io/get-pip.py | python \
|
&& curl https://bootstrap.pypa.io/get-pip.py | python \
|
||||||
&& pip install rpi.gpio \
|
&& pip install rpi.gpio \
|
||||||
&& npm install -g node-red \
|
&& npm install -g --unsafe-perm node-red \
|
||||||
node-red-admin \
|
node-red-admin \
|
||||||
node-red-dashboard \
|
node-red-dashboard \
|
||||||
&& apk del build-base \
|
&& apk del build-base \
|
||||||
python-dev \
|
python-dev \
|
||||||
&& rm -rf /tmp/npm-*
|
&& rm -rf /tmp/npm-*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user