2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-28 07:56:32 +01:00

update node-red

This commit is contained in:
kev
2017-04-30 21:58:14 +08:00
parent 2a64285a86
commit 8e1ff7743f
8 changed files with 18 additions and 9 deletions

View File

@@ -19,9 +19,9 @@ RUN set -xe \
node-red-admin \
node-red-dashboard \
&& cd /usr/lib/node_modules/node-red/nodes/core/hardware \
&& curl -sSL https://github.com/vimagick/dockerfiles/raw/master/node-red/arm/patch/nrgpio > nrgpio \
&& curl -sSL https://github.com/vimagick/dockerfiles/raw/master/node-red/arm/patch/nrgpio.py > nrgpio.py \
&& curl -sSL https://github.com/vimagick/dockerfiles/raw/master/node-red/arm/patch/36-rpi-gpio.js > 36-rpi-gpio.js \
&& curl -sSL https://github.com/vimagick/dockerfiles/raw/master/node-red/patch/nrgpio > nrgpio \
&& curl -sSL https://github.com/vimagick/dockerfiles/raw/master/node-red/patch/nrgpio.py > nrgpio.py \
&& curl -sSL https://github.com/vimagick/dockerfiles/raw/master/node-red/patch/36-rpi-gpio.js > 36-rpi-gpio.js \
&& apk del build-base \
python3-dev \
&& rm -rf /tmp/npm-*