Skip to content

Commit

Permalink
Merge pull request #1089 from projectsyn/renovate/docker.io-python-3.…
Browse files Browse the repository at this point in the history
…12.x

Update docker.io/python Docker tag to v3.12.8
  • Loading branch information
simu authored Jan 17, 2025
2 parents 5326daa + cc25ef5 commit 90addc3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM docker.io/python:3.11.5-slim-bullseye AS base
FROM docker.io/python:3.12.8-slim-bookworm AS base

ARG TARGETARCH
ENV TARGETARCH=${TARGETARCH:-amd64}
Expand Down Expand Up @@ -61,6 +61,8 @@ RUN ./tools/install-jb.sh v0.6.2 \

FROM base AS runtime

ENV PYTHON_MINOR="${PYTHON_VERSION%.*}"

RUN apt-get update && apt-get install -y --no-install-recommends \
curl \
git \
Expand All @@ -72,7 +74,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
&& echo " ControlMaster auto\n ControlPath /tmp/%r@%h:%p" >> /etc/ssh/ssh_config

COPY --from=builder \
/usr/local/lib/python3.11/site-packages/ /usr/local/lib/python3.11/site-packages/
/usr/local/lib/python${PYTHON_MINOR}/site-packages/ \
/usr/local/lib/python${PYTHON_MINOR}/site-packages/
COPY --from=builder \
/usr/local/bin/kapitan* \
/usr/local/bin/commodore* \
Expand Down
2 changes: 1 addition & 1 deletion renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
},
{
"matchManagers": ["poetry"],
"matchPackageNames": ["python"],
"matchDepNames": ["python"],
"enabled": false
}
]
Expand Down

0 comments on commit 90addc3

Please sign in to comment.