diff --git a/docker/Metafile b/docker/Metafile index fe36b482..deab0159 100644 --- a/docker/Metafile +++ b/docker/Metafile @@ -1,4 +1,4 @@ -FROM python:3.11.7-slim-bookworm AS compile-image +FROM python:3.11.9-slim-bookworm AS compile-image RUN apt-get update && \ apt-get install --no-install-recommends -y \ @@ -11,7 +11,7 @@ ADD https://raw.githubusercontent.com/AirportR/FullTclash/dev/requirements.txt . RUN pip3 install --no-cache-dir -r requirements.txt && \ pip3 install --no-cache-dir supervisor -FROM python:3.11.7-slim-bookworm +FROM python:3.11.9-slim-bookworm COPY --from=compile-image /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ COPY --from=compile-image /opt/venv /opt/venv diff --git a/docker/Metafile.alpine b/docker/Metafile.alpine index 9c2548eb..f9382d90 100644 --- a/docker/Metafile.alpine +++ b/docker/Metafile.alpine @@ -1,4 +1,4 @@ -FROM python:3.11.7-alpine3.19 AS compile-image +FROM python:3.11.9-alpine3.20 AS compile-image RUN apk add --no-cache \ gcc g++ make libffi-dev libstdc++ gcompat libgcc build-base py3-pybind11-dev abseil-cpp-dev re2-dev ca-certificates @@ -10,7 +10,7 @@ ADD https://raw.githubusercontent.com/AirportR/FullTclash/dev/requirements.txt . RUN pip3 install --no-cache-dir -r requirements.txt && \ pip3 install --no-cache-dir supervisor -FROM python:3.11.7-alpine3.19 +FROM python:3.11.9-alpine3.20 COPY --from=compile-image /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ COPY --from=compile-image /opt/venv /opt/venv