Skip to content

Commit 7587e66

Browse files
committed
fix python
1 parent 7ce93db commit 7587e66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Dockerfile for node-red
33
#
44

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

88
ARG NODERED_VERSION
@@ -22,7 +22,7 @@ RUN set -xe \
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 \
25+
&& rm -vf /usr/lib/python3.12/EXTERNALLY-MANAGED \
2626
&& python -m ensurepip \
2727
&& pip3 install --no-cache-dir rpi.gpio \
2828
&& npm install -g --unsafe-perm \

0 commit comments

Comments
 (0)