update node-red

This commit is contained in:
kev 2019-10-01 15:51:17 +08:00
parent 1e6f843a4e
commit 60cc36d343
2 changed files with 5 additions and 5 deletions

View File

@ -6,7 +6,8 @@ FROM alpine
MAINTAINER EasyPi Software Foundation
RUN set -xe \
&& apk add --no-cache build-base \
&& apk add --no-cache bash \
build-base \
ca-certificates \
curl \
nodejs \
@ -18,7 +19,6 @@ RUN set -xe \
&& npm install -g --unsafe-perm node-red \
node-red-admin \
node-red-dashboard \
&& sed -i '1s/bash/sh/' /usr/lib/node_modules/node-red/node_modules/@node-red/nodes/core/hardware/nrgpio \
&& mkdir -p /usr/share/doc/python-rpi.gpio \
&& apk del build-base \
python3-dev \

View File

@ -2,11 +2,12 @@
# Dockerfile for node-red-arm
#
FROM easypi/alpine-arm
FROM arm32v7/alpine:3
MAINTAINER EasyPi Software Foundation
RUN set -xe \
&& apk add --no-cache build-base \
&& apk add --no-cache bash \
build-base \
ca-certificates \
curl \
nodejs \
@ -18,7 +19,6 @@ RUN set -xe \
&& npm install -g --unsafe-perm node-red \
node-red-admin \
node-red-dashboard \
&& sed -i '1s/bash/sh/' /usr/lib/node_modules/node-red/node_modules/@node-red/nodes/core/hardware/nrgpio \
&& mkdir -p /usr/share/doc/python-rpi.gpio \
&& apk del build-base \
python3-dev \