mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-26 05:27:31 +02:00
update node-red
This commit is contained in:
parent
1e6f843a4e
commit
60cc36d343
@ -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 \
|
||||
|
@ -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 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user