-
Notifications
You must be signed in to change notification settings - Fork 124
environments python sdk v2
github-actions[bot] edited this page Mar 27, 2024
·
76 revisions
Environment containing Azure SDK for Python v2
Version: 15
Preview
View in Studio: https://ml.azure.com/registries/azureml/environments/python-sdk-v2/version/15
Docker image: mcr.microsoft.com/azureml/curated/python-sdk-v2:15
FROM mcr.microsoft.com/azureml/openmpi4.1.0-ubuntu20.04:20240325.v1
RUN apt-get update -y && apt-get install binutils libssh-4 libsqlite3-0 libpam-modules linux-libc-dev libldap-common libldap-2.4-2 libc-bin libc-dev-bin libc6 libc6-dev libcurl3-gnutls libgnutls30 tar openssh-server openssh-client openssl curl -y
WORKDIR /
ENV CONDA_PREFIX=/azureml-envs/python-sdk-v2
ENV CONDA_DEFAULT_ENV=$CONDA_PREFIX
ENV PATH=$CONDA_PREFIX/bin:$PATH
# This is needed for mpi to locate libpython
ENV LD_LIBRARY_PATH=$CONDA_PREFIX/lib:$LD_LIBRARY_PATH
# Create conda environment
COPY conda_dependencies.yaml .
RUN conda env create -p $CONDA_PREFIX -f conda_dependencies.yaml -q && \
rm conda_dependencies.yaml && \
conda run -p $CONDA_PREFIX pip cache purge && \
conda clean -a -y