Skip to content

Commit

Permalink
Merge pull request #193 from aipeach/dev
Browse files Browse the repository at this point in the history
Update 升级docker镜像内py版本
  • Loading branch information
AirportR authored Jun 17, 2024
2 parents b046f31 + 739311c commit 4062549
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docker/Metafile
Original file line number Diff line number Diff line change
@@ -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 \
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docker/Metafile.alpine
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down

0 comments on commit 4062549

Please sign in to comment.