From b16c230e3c5dcbe537aca6ef6f7fdaae6b56e895 Mon Sep 17 00:00:00 2001 From: "red-hat-konflux[bot]" <126015336+red-hat-konflux[bot]@users.noreply.github.com> Date: Tue, 25 Jun 2024 20:05:03 +0000 Subject: [PATCH] Update python Docker tag --- examples/pytorch/cpu-demo/Dockerfile | 2 +- examples/pytorch/elastic/echo/Dockerfile | 2 +- examples/tensorflow/distribution_strategy/keras-API/Dockerfile | 2 +- examples/xgboost/lightgbm-dist/Dockerfile | 2 +- examples/xgboost/smoke-dist/Dockerfile | 2 +- examples/xgboost/xgboost-dist/Dockerfile | 2 +- sdk/python/Dockerfile.conformance | 2 +- sdk/python/kubeflow/storage_initializer/Dockerfile | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/examples/pytorch/cpu-demo/Dockerfile b/examples/pytorch/cpu-demo/Dockerfile index 1e6204bdef..2656cc477e 100644 --- a/examples/pytorch/cpu-demo/Dockerfile +++ b/examples/pytorch/cpu-demo/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.8 +FROM python:3.12 RUN pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu diff --git a/examples/pytorch/elastic/echo/Dockerfile b/examples/pytorch/elastic/echo/Dockerfile index 1a663d1b45..7e0b9a0797 100644 --- a/examples/pytorch/elastic/echo/Dockerfile +++ b/examples/pytorch/elastic/echo/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.8-buster +FROM python:3.11-buster WORKDIR /workspace RUN pip install torch==1.13.1 numpy # TODO Replace this with the PIP version when available diff --git a/examples/tensorflow/distribution_strategy/keras-API/Dockerfile b/examples/tensorflow/distribution_strategy/keras-API/Dockerfile index 9e2e5c55b7..357e269115 100644 --- a/examples/tensorflow/distribution_strategy/keras-API/Dockerfile +++ b/examples/tensorflow/distribution_strategy/keras-API/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.9 +FROM python:3.12 RUN pip install tensorflow==2.11.0 tensorflow_datasets==4.7.0 diff --git a/examples/xgboost/lightgbm-dist/Dockerfile b/examples/xgboost/lightgbm-dist/Dockerfile index b05c4020fb..bcf8807e5e 100644 --- a/examples/xgboost/lightgbm-dist/Dockerfile +++ b/examples/xgboost/lightgbm-dist/Dockerfile @@ -30,7 +30,7 @@ RUN git clone \ cd "${HOME}" && \ rm -rf LightGBM -FROM python:3.7 +FROM python:3.12 COPY requirements.txt . RUN pip install -r requirements.txt diff --git a/examples/xgboost/smoke-dist/Dockerfile b/examples/xgboost/smoke-dist/Dockerfile index ab373d7f1b..7ac4f370fe 100644 --- a/examples/xgboost/smoke-dist/Dockerfile +++ b/examples/xgboost/smoke-dist/Dockerfile @@ -1,5 +1,5 @@ # Install python 3.6 -FROM python:3.6 +FROM python:3.12 RUN mkdir -p /opt/mlkube diff --git a/examples/xgboost/xgboost-dist/Dockerfile b/examples/xgboost/xgboost-dist/Dockerfile index 16ea8051df..a69b1def08 100644 --- a/examples/xgboost/xgboost-dist/Dockerfile +++ b/examples/xgboost/xgboost-dist/Dockerfile @@ -1,5 +1,5 @@ # Install python 3.6. -FROM python:3.6 +FROM python:3.12 RUN mkdir -p /opt/mlkube diff --git a/sdk/python/Dockerfile.conformance b/sdk/python/Dockerfile.conformance index 4cdc6f3bd6..101a87820b 100644 --- a/sdk/python/Dockerfile.conformance +++ b/sdk/python/Dockerfile.conformance @@ -13,7 +13,7 @@ # limitations under the License. # Dockerfile for building the source code of conformance tests -FROM python:3.10-alpine +FROM python:3.12-alpine WORKDIR /kubeflow/training-operator/sdk/python diff --git a/sdk/python/kubeflow/storage_initializer/Dockerfile b/sdk/python/kubeflow/storage_initializer/Dockerfile index 75bd667c87..7c4ec74892 100644 --- a/sdk/python/kubeflow/storage_initializer/Dockerfile +++ b/sdk/python/kubeflow/storage_initializer/Dockerfile @@ -1,5 +1,5 @@ # Use an official Python runtime as a parent image -FROM python:3.11 +FROM python:3.12 # Set the working directory in the container WORKDIR /app