Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
swoehrl-mw committed Jul 16, 2024
1 parent b8e9aab commit ff2e6f0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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/
Expand Down
10 changes: 5 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ff2e6f0

Please sign in to comment.