2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-21 13:23:02 +01:00

update node-red

This commit is contained in:
kev
2019-10-06 18:02:50 +08:00
parent 7f527bf4d2
commit cd20a59ba3
3 changed files with 78 additions and 73 deletions

View File

@@ -6,27 +6,30 @@ FROM alpine
MAINTAINER EasyPi Software Foundation
RUN set -xe \
&& apk add --no-cache bash \
build-base \
ca-certificates \
curl \
nodejs \
nodejs-npm \
python3 \
python3-dev \
&& apk add --no-cache
bash \
build-base \
ca-certificates \
curl \
nodejs \
nodejs-npm \
python3 \
python3-dev \
&& ln -sf /usr/bin/python3 /usr/bin/python \
&& pip3 install --no-cache-dir rpi.gpio \
&& npm install -g --unsafe-perm node-red \
node-red-admin \
node-red-dashboard \
node-red-node-email \
node-red-node-feedparser \
node-red-node-pi-gpio \
node-red-node-sentiment \
node-red-node-twitter \
&& npm install -g --unsafe-perm
node-red \
node-red-admin \
node-red-dashboard \
node-red-node-email \
node-red-node-feedparser \
node-red-node-pi-gpio \
node-red-node-sentiment \
node-red-node-twitter \
&& mkdir -p /usr/share/doc/python-rpi.gpio \
&& apk del build-base \
python3-dev \
&& apk del
build-base \
python3-dev \
&& rm -rf /tmp/npm-*
WORKDIR /data

View File

@@ -6,27 +6,30 @@ FROM arm32v7/alpine:3
MAINTAINER EasyPi Software Foundation
RUN set -xe \
&& apk add --no-cache bash \
build-base \
ca-certificates \
curl \
nodejs \
nodejs-npm \
python3 \
python3-dev \
&& apk add --no-cache
bash \
build-base \
ca-certificates \
curl \
nodejs \
nodejs-npm \
python3 \
python3-dev \
&& ln -sf /usr/bin/python3 /usr/bin/python \
&& pip3 install --no-cache-dir rpi.gpio \
&& npm install -g --unsafe-perm node-red \
node-red-admin \
node-red-dashboard \
node-red-node-email \
node-red-node-feedparser \
node-red-node-pi-gpio \
node-red-node-sentiment \
node-red-node-twitter \
&& npm install -g --unsafe-perm
node-red \
node-red-admin \
node-red-dashboard \
node-red-node-email \
node-red-node-feedparser \
node-red-node-pi-gpio \
node-red-node-sentiment \
node-red-node-twitter \
&& mkdir -p /usr/share/doc/python-rpi.gpio \
&& apk del build-base \
python3-dev \
&& apk del
build-base \
python3-dev \
&& rm -rf /tmp/npm-*
WORKDIR /data