mirror of
https://github.com/vimagick/dockerfiles
synced 2024-06-16 03:48:44 +00:00
update node-red
This commit is contained in:
parent
1e6f843a4e
commit
60cc36d343
@ -6,7 +6,8 @@ FROM alpine
|
|||||||
MAINTAINER EasyPi Software Foundation
|
MAINTAINER EasyPi Software Foundation
|
||||||
|
|
||||||
RUN set -xe \
|
RUN set -xe \
|
||||||
&& apk add --no-cache build-base \
|
&& apk add --no-cache bash \
|
||||||
|
build-base \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
curl \
|
curl \
|
||||||
nodejs \
|
nodejs \
|
||||||
@ -18,7 +19,6 @@ RUN set -xe \
|
|||||||
&& npm install -g --unsafe-perm node-red \
|
&& npm install -g --unsafe-perm node-red \
|
||||||
node-red-admin \
|
node-red-admin \
|
||||||
node-red-dashboard \
|
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 \
|
&& mkdir -p /usr/share/doc/python-rpi.gpio \
|
||||||
&& apk del build-base \
|
&& apk del build-base \
|
||||||
python3-dev \
|
python3-dev \
|
||||||
|
@ -2,11 +2,12 @@
|
|||||||
# Dockerfile for node-red-arm
|
# Dockerfile for node-red-arm
|
||||||
#
|
#
|
||||||
|
|
||||||
FROM easypi/alpine-arm
|
FROM arm32v7/alpine:3
|
||||||
MAINTAINER EasyPi Software Foundation
|
MAINTAINER EasyPi Software Foundation
|
||||||
|
|
||||||
RUN set -xe \
|
RUN set -xe \
|
||||||
&& apk add --no-cache build-base \
|
&& apk add --no-cache bash \
|
||||||
|
build-base \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
curl \
|
curl \
|
||||||
nodejs \
|
nodejs \
|
||||||
@ -18,7 +19,6 @@ RUN set -xe \
|
|||||||
&& npm install -g --unsafe-perm node-red \
|
&& npm install -g --unsafe-perm node-red \
|
||||||
node-red-admin \
|
node-red-admin \
|
||||||
node-red-dashboard \
|
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 \
|
&& mkdir -p /usr/share/doc/python-rpi.gpio \
|
||||||
&& apk del build-base \
|
&& apk del build-base \
|
||||||
python3-dev \
|
python3-dev \
|
||||||
|
Loading…
Reference in New Issue
Block a user