Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docker.io/python Docker tag to v3.12.8 #1089

Merged
merged 4 commits into from
Jan 17, 2025
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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-bullseye 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
Loading