Skip to content

Commit af5c03b

Browse files
authored
Revert "Updating the base images (#4140)" (#4145)
This reverts commit 88026c8.
1 parent bb92224 commit af5c03b

2 files changed

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

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

1314
# Inference requirements
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/* && \
15+
COPY --from=mcr.microsoft.com/azureml/o16n-base/python-assets:20230419.v1 /artifacts /var/
16+
RUN /var/requirements/install_system_requirements.sh && \
2717
cp /var/configuration/rsyslog.conf /etc/rsyslog.conf && \
2818
cp /var/configuration/nginx.conf /etc/nginx/sites-available/app && \
2919
ln -sf /etc/nginx/sites-available/app /etc/nginx/sites-enabled/app && \

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

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

33

44
ENV AZUREML_CONDA_ENVIRONMENT_PATH /azureml-envs/azureml-automl-dnn-vision-gpu
@@ -12,19 +12,8 @@ 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: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/* && \
15+
COPY --from=mcr.microsoft.com/azureml/o16n-base/python-assets:20230419.v1 /artifacts /var/
16+
RUN /var/requirements/install_system_requirements.sh && \
2817
cp /var/configuration/rsyslog.conf /etc/rsyslog.conf && \
2918
cp /var/configuration/nginx.conf /etc/nginx/sites-available/app && \
3019
ln -sf /etc/nginx/sites-available/app /etc/nginx/sites-enabled/app && \

0 commit comments

Comments
 (0)