Skip to content

Commit c5182c8

Browse files
Merge pull request #350 from IBM/fixed-broken-python-example
fixed broken python docker build
2 parents 0e4dbad + f5feb99 commit c5182c8

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

trusted-profiles/python/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Download dependencies in builder stage
2-
FROM registry.access.redhat.com/ubi9/python-39 AS builder
2+
FROM registry.access.redhat.com/ubi9/python-312 AS builder
33

44
COPY requirements.txt .
55
RUN python -m pip install -r requirements.txt
@@ -9,7 +9,7 @@ FROM gcr.io/distroless/python3
99

1010
ENV PYTHONPATH=/app/site-packages
1111

12-
COPY --chown=1001:0 --from=builder /opt/app-root/lib/python3.9/site-packages ${PYTHONPATH}
12+
COPY --chown=1001:0 --from=builder /opt/app-root/lib/python3.12/site-packages ${PYTHONPATH}
1313
COPY --chown=1001:0 main.py /app/
1414

1515
USER 1001:0
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
ibm_cloud_sdk_core==3.23.0
2-
requests==2.33.0
3-
xmltodict==0.14.2
1+
ibm_cloud_sdk_core==3.24.4
2+
requests==2.33.1
3+
xmltodict==1.0.4

0 commit comments

Comments
 (0)