-
Notifications
You must be signed in to change notification settings - Fork 130
environments model management
github-actions[bot] edited this page Aug 14, 2024
·
125 revisions
Environment used by Model Management components
Version: 30
Preview
View in Studio: https://ml.azure.com/registries/azureml/environments/model-management/version/30
Docker image: mcr.microsoft.com/azureml/curated/model-management:30
FROM mcr.microsoft.com/aifx/acpt/stable-ubuntu2004-cu117-py39-torch201:biweekly.202402.1
WORKDIR /
RUN apt-get update && apt-get upgrade -y && apt-get install wget nscd python3-idna git git-lfs -y
# azcopy install starts
RUN echo "Downloading azcopy to file azcopy.tar ....";\
wget https://aka.ms/downloadazcopy-v10-linux -O azcopy.tar --no-verbose;\
tar -xvf azcopy.tar;\
mkdir -p ./azcopy/bin/;\
cp ./azcopy_linux_amd64_*/azcopy ./bin/;\
rm azcopy.tar;\
rm -rf ./azcopy_linux_amd64_*;\
which azcopy | grep -o azcopy > /dev/null && echo "azcopy not installed" || echo "azcopy installed";
COPY requirements.txt .
RUN pip install -r requirements.txt --no-cache-dir
## Vulnerability fix
RUN pip install Pillow gunicorn onnx idna tqdm requests==2.32.0 tornado==6.4.1 certifi==2024.07.04 urllib3==1.26.19 scikit-learn==1.5.0 torch==2.2.2
# List installed packages
RUN pip list
## Delete
RUN rm requirements.txt