From 7587e66cfd54a381e81194e3f20f20a3297928d0 Mon Sep 17 00:00:00 2001 From: kevin Date: Sun, 21 Jul 2024 11:18:17 +0800 Subject: [PATCH] fix python --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index d7c2c8c..5033dca 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ # Dockerfile for node-red # -FROM alpine:3 +FROM alpine:3.20 MAINTAINER EasyPi Software Foundation ARG NODERED_VERSION @@ -22,7 +22,7 @@ RUN set -xe \ python3-dev \ && ln -sf /usr/bin/python3 /usr/bin/python \ && ln -sf /lib /lib64 \ - && rm /usr/lib/python3.11/EXTERNALLY-MANAGED \ + && rm -vf /usr/lib/python3.12/EXTERNALLY-MANAGED \ && python -m ensurepip \ && pip3 install --no-cache-dir rpi.gpio \ && npm install -g --unsafe-perm \