Skip to content

Commit 7ce93db

Browse files
committed
use alpine:3 as base
1 parent 5969e4d commit 7ce93db

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Dockerfile for node-red
33
#
44

5-
FROM alpine:3.12
5+
FROM alpine:3
66
MAINTAINER EasyPi Software Foundation
77

88
ARG NODERED_VERSION
@@ -17,11 +17,12 @@ RUN set -xe \
1717
dumb-init \
1818
gcompat \
1919
nodejs \
20-
nodejs-npm \
20+
npm \
2121
python3 \
2222
python3-dev \
2323
&& ln -sf /usr/bin/python3 /usr/bin/python \
2424
&& ln -sf /lib /lib64 \
25+
&& rm /usr/lib/python3.11/EXTERNALLY-MANAGED \
2526
&& python -m ensurepip \
2627
&& pip3 install --no-cache-dir rpi.gpio \
2728
&& npm install -g --unsafe-perm \

0 commit comments

Comments
 (0)