updated minimal image version for the cli examples (#3338)
This commit is contained in:
Родитель
c2359b89ff
Коммит
4ab5cb2e50
|
@ -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
|
RUN pip install pandas numpy scikit-learn joblib
|
|
@ -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
|
USER dockeruser
|
||||||
|
|
||||||
|
|
|
@ -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
|
RUN pip install numpy pip scikit-learn scipy joblib
|
|
@ -6,7 +6,7 @@ code_configuration:
|
||||||
code: code
|
code: code
|
||||||
scoring_script: score-numpy.py
|
scoring_script: score-numpy.py
|
||||||
environment:
|
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
|
conda_file: env.yml
|
||||||
instance_type: Standard_DS3_v2
|
instance_type: Standard_DS3_v2
|
||||||
instance_count: 1
|
instance_count: 1
|
|
@ -6,7 +6,7 @@ code_configuration:
|
||||||
code: code
|
code: code
|
||||||
scoring_script: score-pandas.py
|
scoring_script: score-pandas.py
|
||||||
environment:
|
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
|
conda_file: env.yml
|
||||||
instance_type: Standard_DS3_v2
|
instance_type: Standard_DS3_v2
|
||||||
instance_count: 1
|
instance_count: 1
|
|
@ -6,7 +6,7 @@ code_configuration:
|
||||||
code: code
|
code: code
|
||||||
scoring_script: score-standard.py
|
scoring_script: score-standard.py
|
||||||
environment:
|
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
|
conda_file: env.yml
|
||||||
instance_type: Standard_DS3_v2
|
instance_type: Standard_DS3_v2
|
||||||
instance_count: 1
|
instance_count: 1
|
|
@ -54,7 +54,7 @@ code_configuration:
|
||||||
code: code
|
code: code
|
||||||
scoring_script: score.py
|
scoring_script: score.py
|
||||||
environment:
|
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
|
conda_file: env.yml
|
||||||
environment_variables:
|
environment_variables:
|
||||||
KV_SECRET_MULTIPLIER: multiplier@https://<KV_NAME>.vault.azure.net
|
KV_SECRET_MULTIPLIER: multiplier@https://<KV_NAME>.vault.azure.net
|
||||||
|
|
|
@ -7,7 +7,7 @@ code_configuration:
|
||||||
code: code
|
code: code
|
||||||
scoring_script: score.py
|
scoring_script: score.py
|
||||||
environment:
|
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
|
conda_file: env.yml
|
||||||
environment_variables:
|
environment_variables:
|
||||||
KV_SECRET_MULTIPLIER: multiplier@https://<KV_NAME>.vault.azure.net
|
KV_SECRET_MULTIPLIER: multiplier@https://<KV_NAME>.vault.azure.net
|
||||||
|
|
|
@ -6,7 +6,7 @@ code_configuration:
|
||||||
code: ../../../model-1/onlinescoring
|
code: ../../../model-1/onlinescoring
|
||||||
scoring_script: score.py
|
scoring_script: score.py
|
||||||
environment:
|
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
|
conda_file: env.yml
|
||||||
instance_type: Standard_DS3_v2
|
instance_type: Standard_DS3_v2
|
||||||
instance_count: 1
|
instance_count: 1
|
||||||
|
|
|
@ -82,7 +82,7 @@ code_configuration:
|
||||||
code: <CODE_DIR>
|
code: <CODE_DIR>
|
||||||
scoring_script: score.py
|
scoring_script: score.py
|
||||||
environment:
|
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
|
conda_file: env.yml
|
||||||
instance_type: Standard_DS3_v2
|
instance_type: Standard_DS3_v2
|
||||||
instance_count: 1
|
instance_count: 1
|
||||||
|
|
|
@ -7,7 +7,7 @@ code_configuration:
|
||||||
code: <CODE_DIR>
|
code: <CODE_DIR>
|
||||||
scoring_script: score.py
|
scoring_script: score.py
|
||||||
environment:
|
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
|
conda_file: env.yml
|
||||||
instance_type: Standard_DS3_v2
|
instance_type: Standard_DS3_v2
|
||||||
instance_count: 1
|
instance_count: 1
|
|
@ -1,5 +1,5 @@
|
||||||
# Start from a azure ml inference curated base image
|
# 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 the conda.yaml inside the container
|
||||||
COPY conda.yaml /tmp/conda.yaml
|
COPY conda.yaml /tmp/conda.yaml
|
||||||
|
|
Загрузка…
Ссылка в новой задаче