From 4ab5cb2e509ea4e68f4dd5786e900dd744ad2538 Mon Sep 17 00:00:00 2001 From: Satwik Kumar <113476420+sshiri-msft@users.noreply.github.com> Date: Thu, 8 Aug 2024 12:21:24 -0700 Subject: [PATCH] updated minimal image version for the cli examples (#3338) --- .../minimal/multimodel/minimal-multimodel.dockerfile | 2 +- .../minimal-single-model-conda-in-dockerfile.dockerfile | 2 +- .../minimal-single-model-pip-in-dockerfile.dockerfile | 2 +- .../online/managed/inference-schema/deployment-numpy.yml | 2 +- .../online/managed/inference-schema/deployment-pandas.yml | 2 +- .../online/managed/inference-schema/deployment-standard.yml | 2 +- cli/endpoints/online/managed/keyvault/README.md | 2 +- cli/endpoints/online/managed/keyvault/keyvault-deployment.yml | 2 +- .../managed/minimal/single-model-registered/deployment.yml | 2 +- cli/endpoints/online/managed/openapi/README.md | 2 +- cli/endpoints/online/managed/openapi/deployment.yml | 2 +- cli/endpoints/online/managed/vnet/sample/environment/Dockerfile | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/cli/endpoints/online/custom-container/minimal/multimodel/minimal-multimodel.dockerfile b/cli/endpoints/online/custom-container/minimal/multimodel/minimal-multimodel.dockerfile index ae503bc62..3719a0513 100644 --- a/cli/endpoints/online/custom-container/minimal/multimodel/minimal-multimodel.dockerfile +++ b/cli/endpoints/online/custom-container/minimal/multimodel/minimal-multimodel.dockerfile @@ -1,3 +1,3 @@ -FROM mcr.microsoft.com/azureml/minimal-ubuntu20.04-py38-cpu-inference:latest +FROM mcr.microsoft.com/azureml/minimal-ubuntu22.04-py39-cpu-inference:latest RUN pip install pandas numpy scikit-learn joblib \ No newline at end of file diff --git a/cli/endpoints/online/custom-container/minimal/single-model/conda-in-dockerfile/minimal-single-model-conda-in-dockerfile.dockerfile b/cli/endpoints/online/custom-container/minimal/single-model/conda-in-dockerfile/minimal-single-model-conda-in-dockerfile.dockerfile index f4062ebe2..5bc01dcc0 100644 --- a/cli/endpoints/online/custom-container/minimal/single-model/conda-in-dockerfile/minimal-single-model-conda-in-dockerfile.dockerfile +++ b/cli/endpoints/online/custom-container/minimal/single-model/conda-in-dockerfile/minimal-single-model-conda-in-dockerfile.dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/azureml/minimal-ubuntu20.04-py38-cpu-inference:latest +FROM mcr.microsoft.com/azureml/minimal-ubuntu22.04-py39-cpu-inference:latest USER dockeruser diff --git a/cli/endpoints/online/custom-container/minimal/single-model/pip-in-dockerfile/minimal-single-model-pip-in-dockerfile.dockerfile b/cli/endpoints/online/custom-container/minimal/single-model/pip-in-dockerfile/minimal-single-model-pip-in-dockerfile.dockerfile index 76d513d6a..f17c7697a 100644 --- a/cli/endpoints/online/custom-container/minimal/single-model/pip-in-dockerfile/minimal-single-model-pip-in-dockerfile.dockerfile +++ b/cli/endpoints/online/custom-container/minimal/single-model/pip-in-dockerfile/minimal-single-model-pip-in-dockerfile.dockerfile @@ -1,3 +1,3 @@ -FROM mcr.microsoft.com/azureml/minimal-ubuntu20.04-py38-cpu-inference:latest +FROM mcr.microsoft.com/azureml/minimal-ubuntu22.04-py39-cpu-inference:latest RUN pip install numpy pip scikit-learn scipy joblib \ No newline at end of file diff --git a/cli/endpoints/online/managed/inference-schema/deployment-numpy.yml b/cli/endpoints/online/managed/inference-schema/deployment-numpy.yml index c624516ad..ee6d6addf 100644 --- a/cli/endpoints/online/managed/inference-schema/deployment-numpy.yml +++ b/cli/endpoints/online/managed/inference-schema/deployment-numpy.yml @@ -6,7 +6,7 @@ code_configuration: code: code scoring_script: score-numpy.py environment: - image: mcr.microsoft.com/azureml/minimal-ubuntu20.04-py38-cpu-inference + image: mcr.microsoft.com/azureml/minimal-ubuntu22.04-py39-cpu-inference conda_file: env.yml instance_type: Standard_DS3_v2 instance_count: 1 \ No newline at end of file diff --git a/cli/endpoints/online/managed/inference-schema/deployment-pandas.yml b/cli/endpoints/online/managed/inference-schema/deployment-pandas.yml index 85f663c04..8e55bcd41 100644 --- a/cli/endpoints/online/managed/inference-schema/deployment-pandas.yml +++ b/cli/endpoints/online/managed/inference-schema/deployment-pandas.yml @@ -6,7 +6,7 @@ code_configuration: code: code scoring_script: score-pandas.py environment: - image: mcr.microsoft.com/azureml/minimal-ubuntu20.04-py38-cpu-inference + image: mcr.microsoft.com/azureml/minimal-ubuntu22.04-py39-cpu-inference conda_file: env.yml instance_type: Standard_DS3_v2 instance_count: 1 \ No newline at end of file diff --git a/cli/endpoints/online/managed/inference-schema/deployment-standard.yml b/cli/endpoints/online/managed/inference-schema/deployment-standard.yml index c20172c2f..f576b7952 100644 --- a/cli/endpoints/online/managed/inference-schema/deployment-standard.yml +++ b/cli/endpoints/online/managed/inference-schema/deployment-standard.yml @@ -6,7 +6,7 @@ code_configuration: code: code scoring_script: score-standard.py environment: - image: mcr.microsoft.com/azureml/minimal-ubuntu20.04-py38-cpu-inference + image: mcr.microsoft.com/azureml/minimal-ubuntu22.04-py39-cpu-inference conda_file: env.yml instance_type: Standard_DS3_v2 instance_count: 1 \ No newline at end of file diff --git a/cli/endpoints/online/managed/keyvault/README.md b/cli/endpoints/online/managed/keyvault/README.md index c14c8561d..09b11d843 100644 --- a/cli/endpoints/online/managed/keyvault/README.md +++ b/cli/endpoints/online/managed/keyvault/README.md @@ -54,7 +54,7 @@ code_configuration: code: code scoring_script: score.py environment: - image: mcr.microsoft.com/azureml/minimal-ubuntu20.04-py38-cpu-inference:latest + image: mcr.microsoft.com/azureml/minimal-ubuntu22.04-py39-cpu-inference:latest conda_file: env.yml environment_variables: KV_SECRET_MULTIPLIER: multiplier@https://.vault.azure.net diff --git a/cli/endpoints/online/managed/keyvault/keyvault-deployment.yml b/cli/endpoints/online/managed/keyvault/keyvault-deployment.yml index e35fd21cd..44c45246f 100644 --- a/cli/endpoints/online/managed/keyvault/keyvault-deployment.yml +++ b/cli/endpoints/online/managed/keyvault/keyvault-deployment.yml @@ -7,7 +7,7 @@ code_configuration: code: code scoring_script: score.py environment: - image: mcr.microsoft.com/azureml/minimal-ubuntu20.04-py38-cpu-inference:latest + image: mcr.microsoft.com/azureml/minimal-ubuntu22.04-py39-cpu-inference:latest conda_file: env.yml environment_variables: KV_SECRET_MULTIPLIER: multiplier@https://.vault.azure.net diff --git a/cli/endpoints/online/managed/minimal/single-model-registered/deployment.yml b/cli/endpoints/online/managed/minimal/single-model-registered/deployment.yml index 708231acb..8c02634e1 100644 --- a/cli/endpoints/online/managed/minimal/single-model-registered/deployment.yml +++ b/cli/endpoints/online/managed/minimal/single-model-registered/deployment.yml @@ -6,7 +6,7 @@ code_configuration: code: ../../../model-1/onlinescoring scoring_script: score.py environment: - image: mcr.microsoft.com/azureml/minimal-ubuntu20.04-py38-cpu-inference:latest + image: mcr.microsoft.com/azureml/minimal-ubuntu22.04-py39-cpu-inference:latest conda_file: env.yml instance_type: Standard_DS3_v2 instance_count: 1 diff --git a/cli/endpoints/online/managed/openapi/README.md b/cli/endpoints/online/managed/openapi/README.md index e82d459be..563d0cf23 100644 --- a/cli/endpoints/online/managed/openapi/README.md +++ b/cli/endpoints/online/managed/openapi/README.md @@ -82,7 +82,7 @@ code_configuration: code: scoring_script: score.py environment: - image: mcr.microsoft.com/azureml/minimal-ubuntu20.04-py38-cpu-inference + image: mcr.microsoft.com/azureml/minimal-ubuntu22.04-py39-cpu-inference conda_file: env.yml instance_type: Standard_DS3_v2 instance_count: 1 diff --git a/cli/endpoints/online/managed/openapi/deployment.yml b/cli/endpoints/online/managed/openapi/deployment.yml index 1c1fd083f..c2a81b500 100644 --- a/cli/endpoints/online/managed/openapi/deployment.yml +++ b/cli/endpoints/online/managed/openapi/deployment.yml @@ -7,7 +7,7 @@ code_configuration: code: scoring_script: score.py environment: - image: mcr.microsoft.com/azureml/minimal-ubuntu20.04-py38-cpu-inference + image: mcr.microsoft.com/azureml/minimal-ubuntu22.04-py39-cpu-inference conda_file: env.yml instance_type: Standard_DS3_v2 instance_count: 1 \ No newline at end of file diff --git a/cli/endpoints/online/managed/vnet/sample/environment/Dockerfile b/cli/endpoints/online/managed/vnet/sample/environment/Dockerfile index 95799a2de..95f5a8925 100644 --- a/cli/endpoints/online/managed/vnet/sample/environment/Dockerfile +++ b/cli/endpoints/online/managed/vnet/sample/environment/Dockerfile @@ -1,5 +1,5 @@ # Start from a azure ml inference curated base image -FROM mcr.microsoft.com/azureml/minimal-ubuntu20.04-py38-cpu-inference:latest +FROM mcr.microsoft.com/azureml/minimal-ubuntu22.04-py39-cpu-inference:latest # copy the conda.yaml inside the container COPY conda.yaml /tmp/conda.yaml