1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-25 16:28:40 +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,9 +11,9 @@ RUN set -xe \
nodejs-lts \
python \
python-dev \
&& npm install -g node-red \
node-red-admin \
node-red-dashboard \
&& npm install -g --unsafe-perm node-red \
node-red-admin \
node-red-dashboard \
&& apk del build-base \
python-dev \
&& rm -rf /tmp/npm-*

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