1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-28 09:08:36 +02:00

update node-red

This commit is contained in:
kev 2016-07-08 03:28:46 +08:00
parent b9c2519184
commit 47d26238fc
2 changed files with 20 additions and 16 deletions

View File

@ -6,18 +6,20 @@ FROM alpine
MAINTAINER kev <noreply@easypi.info>
RUN set -xe \
&& apk add -U bash \
build-base \
nodejs \
python \
python-dev \
&& npm install -g node-red node-red-admin \
&& apk add --no-cache bash \
build-base \
nodejs \
python \
python-dev \
&& npm install -g node-red \
node-red-admin \
&& apk del build-base \
python-dev \
&& rm -rf /var/cache/apk/*
&& rm -rf /tmp/npm-*
WORKDIR /root/.node-red
VOLUME /root/.node-red
EXPOSE 1880
CMD ["node-red"]

View File

@ -2,22 +2,24 @@
# Dockerfile for node-red-arm
#
FROM vimagick/alpine-arm
MAINTAINER kev <noreply@easypi.info>
FROM easypi/alpine-arm
MAINTAINER EasyPi Software Foundation
RUN set -xe \
&& apk add -U bash \
build-base \
nodejs \
python \
python-dev \
&& npm install -g node-red node-red-admin \
&& apk add --no-cache bash \
build-base \
nodejs \
python \
python-dev \
&& npm install -g node-red \
node-red-admin \
&& apk del build-base \
python-dev \
&& rm -rf /var/cache/apk/*
&& rm -rf /tmp/npm-*
WORKDIR /root/.node-red
VOLUME /root/.node-red
EXPOSE 1880
CMD ["node-red"]