Skip to content

Commit b66a042

Browse files
authored
Resolve Compliance for remaining ml dockerfile (Azure#24863)
* ensure that registry can be optionally MCR
1 parent af351ee commit b66a042

File tree

1 file changed

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

1 file changed

+4
-1
lines changed

sdk/ml/azure-ai-ml/tests/test_configs/environment/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)