Skip to content

Commit 1e2ae2b

Browse files
authored
fix visualization docker build failures by bumping python (#12429)
* fix visualization docker build failures by bumping python Signed-off-by: Humair Khan <HumairAK@users.noreply.github.com> * set pull number for kfp-samples Signed-off-by: Humair Khan <HumairAK@users.noreply.github.com> --------- Signed-off-by: Humair Khan <HumairAK@users.noreply.github.com>
1 parent 932d613 commit 1e2ae2b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/kfp-samples.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ jobs:
8787
- name: Run Samples Tests
8888
id: tests
8989
if: ${{ steps.forward-api-port.outcome == 'success' }}
90+
env:
91+
PULL_NUMBER: ${{ github.event.pull_request.number }}
9092
run: |
9193
python3 -u ./samples/v2/sample_test.py
9294
continue-on-error: true

backend/Dockerfile.visualization

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@
2121
FROM tensorflow/tensorflow:2.10.1
2222

2323
RUN apt-get update \
24-
&& apt-get install -y wget curl tar openssl \
24+
&& apt-get install -y wget curl tar openssl python3.9 \
2525
&& curl https://dl.google.com/dl/cloudsdk/release/google-cloud-sdk.tar.gz > /tmp/google-cloud-sdk.tar.gz \
2626
&& mkdir -p /usr/local/gcloud \
2727
&& tar -C /usr/local/gcloud -xf /tmp/google-cloud-sdk.tar.gz \
28-
&& /usr/local/gcloud/google-cloud-sdk/install.sh
28+
&& CLOUDSDK_PYTHON=/usr/bin/python3.9 /usr/local/gcloud/google-cloud-sdk/install.sh
2929

3030
ENV PATH $PATH:/usr/local/gcloud/google-cloud-sdk/bin
3131

0 commit comments

Comments
 (0)