From f827fdff26b79f29eb21b7970b768332a3bcfda0 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 4 Oct 2024 00:49:44 +0000 Subject: [PATCH] Update python Docker tag to v3.11 --- Dockerfile | 2 +- Dockerfile-azure-pipelines | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index b02866b1..15141e11 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # gcr.io/distroless/python3-debian11 (runtime env is using 3.9 and that's imporatant for native dependencies) -FROM python:3.9-slim AS builder +FROM python:3.11-slim AS builder WORKDIR / diff --git a/Dockerfile-azure-pipelines b/Dockerfile-azure-pipelines index afb0bee2..73313569 100644 --- a/Dockerfile-azure-pipelines +++ b/Dockerfile-azure-pipelines @@ -1,5 +1,5 @@ # gcr.io/distroless/python3-debian11 (runtime env is using 3.9 and that's imporatant for native dependencies) -FROM python:3.9-slim AS builder +FROM python:3.11-slim AS builder WORKDIR / @@ -20,7 +20,7 @@ RUN pip3 install --target=/app -r requirements.txt --no-deps COPY cognite/transformations_cli/ /app/cognite/transformations_cli/ # Distroless does not work with Azure pipelines -FROM python:3.9-bullseye +FROM python:3.11-bullseye COPY --from=builder /app /app ENV PYTHONPATH /app