Closed ravimeda closed 6 years ago
Closing this PR, and will send to separate PRs covering the test and Dockerfile changes respectively.
Dockerfile changes PR https://github.com/dotnet/dotnet-docker-nightly/pull/505
Unit test changes PR https://github.com/dotnet/dotnet-docker-nightly/pull/506
In a Nano Server 1709 container the default user i.e. ContainerUser will not have access to a volume. Only the ContainerAdministrator will have access. Hence these changes execute docker run command with user as
ContainerAdministrator
in case of Nano Server 1709.As part of this change,
dotnet.exe
path is included to PATH as a system (as opposed to local) environment variable. Setting such variable require admin access.