Skip to content

Commit 88026c8

Browse files
authored
Updating the base images (#4140)
* Updating the base images * Updating the packages
1 parent b2b5ad8 commit 88026c8

2 files changed

Lines changed: 28 additions & 7 deletions

File tree

  • assets/training
    • automl/environments/ai-ml-automl-dnn-vision-gpu/context
    • vision/environments/automl-dnn-vision-gpu/context

assets/training/automl/environments/ai-ml-automl-dnn-vision-gpu/context/Dockerfile

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
FROM mcr.microsoft.com/aifx/acpt/stable-ubuntu2004-cu121-py310-torch222:{{latest-image-tag}}
2-
1+
FROM mcr.microsoft.com/aifx/acpt/stable-ubuntu2204-cu121-py310-torch251:{{latest-image-tag}}
32

43
ENV AZUREML_CONDA_ENVIRONMENT_PATH /azureml-envs/azureml-automl-dnn-vision-gpu
54
# Prepend path to AzureML conda environment
@@ -12,8 +11,19 @@ ENV MLFLOW_MODEL_FOLDER="mlflow-model"
1211
# ENV AZUREML_ENTRY_SCRIPT="mlflow_score_script.py"
1312

1413
# Inference requirements
15-
COPY --from=mcr.microsoft.com/azureml/o16n-base/python-assets:20230419.v1 /artifacts /var/
16-
RUN /var/requirements/install_system_requirements.sh && \
14+
COPY --from=mcr.microsoft.com/azureml/o16n-base/python-assets:20250310.v1 /artifacts /var/
15+
RUN apt-get update && \
16+
apt-get install -y --no-install-recommends \
17+
libcurl4 \
18+
liblttng-ust1 \
19+
libunwind8 \
20+
libxml++2.6-2v5 \
21+
nginx-light \
22+
psmisc \
23+
rsyslog \
24+
runit \
25+
unzip && \
26+
apt-get clean && rm -rf /var/lib/apt/lists/* && \
1727
cp /var/configuration/rsyslog.conf /etc/rsyslog.conf && \
1828
cp /var/configuration/nginx.conf /etc/nginx/sites-available/app && \
1929
ln -sf /etc/nginx/sites-available/app /etc/nginx/sites-enabled/app && \

assets/training/vision/environments/automl-dnn-vision-gpu/context/Dockerfile

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/aifx/acpt/stable-ubuntu2004-cu121-py310-torch222:{{latest-image-tag}}
1+
FROM mcr.microsoft.com/aifx/acpt/stable-ubuntu2204-cu121-py310-torch251:{{latest-image-tag}}
22

33

44
ENV AZUREML_CONDA_ENVIRONMENT_PATH /azureml-envs/azureml-automl-dnn-vision-gpu
@@ -12,8 +12,19 @@ ENV MLFLOW_MODEL_FOLDER="mlflow-model"
1212
# ENV AZUREML_ENTRY_SCRIPT="mlflow_score_script.py"
1313

1414
# Inference requirements
15-
COPY --from=mcr.microsoft.com/azureml/o16n-base/python-assets:20230419.v1 /artifacts /var/
16-
RUN /var/requirements/install_system_requirements.sh && \
15+
COPY --from=mcr.microsoft.com/azureml/o16n-base/python-assets:20250310.v1 /artifacts /var/
16+
RUN apt-get update && \
17+
apt-get install -y --no-install-recommends \
18+
libcurl4 \
19+
liblttng-ust1 \
20+
libunwind8 \
21+
libxml++2.6-2v5 \
22+
nginx-light \
23+
psmisc \
24+
rsyslog \
25+
runit \
26+
unzip && \
27+
apt-get clean && rm -rf /var/lib/apt/lists/* && \
1728
cp /var/configuration/rsyslog.conf /etc/rsyslog.conf && \
1829
cp /var/configuration/nginx.conf /etc/nginx/sites-available/app && \
1930
ln -sf /etc/nginx/sites-available/app /etc/nginx/sites-enabled/app && \

0 commit comments

Comments
 (0)