From ff2e6f05cbdc3d2a7a80d50e70f84c25bc3e0a37 Mon Sep 17 00:00:00 2001 From: Sebastian Woehrl Date: Tue, 16 Jul 2024 15:00:35 +0200 Subject: [PATCH] Update dependencies --- Dockerfile | 6 +++--- requirements.txt | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index ab89161..3dc87f6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,13 @@ -FROM python:3.10 as base +FROM python:3.12 as base # Download requirements from the full image as git is required but not contained in the slim image COPY requirements.txt /operator/requirements.txt RUN pip install -r /operator/requirements.txt && rm -rf /root/.cache/pip -FROM python:3.10-slim +FROM python:3.12-slim RUN mkdir /operator WORKDIR /operator # Install python dependencies -COPY --from=base /usr/local/lib/python3.10/site-packages/ /usr/local/lib/python3.10/site-packages/ +COPY --from=base /usr/local/lib/python3.12/site-packages/ /usr/local/lib/python3.12/site-packages/ COPY --from=base /usr/local/bin/kopf /usr/local/bin/kopf # Copy operator code COPY main.py /operator/ diff --git a/requirements.txt b/requirements.txt index 7005fa8..3b62d33 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ -azure-identity==1.15.0 -azure-mgmt-resource==23.0.1 +azure-identity==1.17.1 +azure-mgmt-resource==23.1.1 azure-mgmt-eventhub==11.0.0 azure-mgmt-privatedns==1.1.0 -azure-mgmt-network==25.2.0 -requests==2.31.0 -git+https://github.com/MaibornWolff/hybrid-cloud-operator-library.git@19a8275 +azure-mgmt-network==25.4.0 +requests==2.32.3 +git+https://github.com/MaibornWolff/hybrid-cloud-operator-library.git@ac7cd7f