1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-28 17:51:24 +00:00

node-red: npm install --unsafe-perm

This commit is contained in:
kev 2016-12-04 21:30:03 +08:00
parent 600663d6f8
commit b47bbea3db
2 changed files with 6 additions and 6 deletions

@ -11,7 +11,7 @@ RUN set -xe \
nodejs-lts \
python \
python-dev \
&& npm install -g node-red \
&& npm install -g --unsafe-perm node-red \
node-red-admin \
node-red-dashboard \
&& apk del build-base \

@ -15,7 +15,7 @@ RUN set -xe \
sudo \
&& curl https://bootstrap.pypa.io/get-pip.py | python \
&& pip install rpi.gpio \
&& npm install -g node-red \
&& npm install -g --unsafe-perm node-red \
node-red-admin \
node-red-dashboard \
&& apk del build-base \