Skip to content

Commit 1e14ee2

Browse files
authored
update single docker file to pull from mcr optionally. need second opinion on other ml-specific dockerfile (Azure#24692)
1 parent 1660d16 commit 1e14ee2

File tree

1 file changed

+4
-1
lines changed
  • sdk/ml/azure-ai-ml/tests/test_configs/deployments/batch/environment_files

1 file changed

+4
-1
lines changed

sdk/ml/azure-ai-ml/tests/test_configs/deployments/batch/environment_files/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
FROM ubuntu:16.04
1+
# internal users should provide MCR registry to build via 'docker build . --build-arg REGISTRY="mcr.microsoft.com/mirror/docker/library/"'
2+
# public OSS users should simply leave this argument blank or ignore its presence entirely
3+
ARG REGISTRY=""
4+
FROM ${REGISTRY}ubuntu:16.04
25

36
ARG CONDA_VERSION=4.7.12
47
ARG PYTHON_VERSION=3.7

0 commit comments

Comments
 (0)