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