Skip to content

Commit

Permalink
Use Administrator account instead of ContainerAdministrator
Browse files Browse the repository at this point in the history
  • Loading branch information
carterbox committed Apr 11, 2022
1 parent f0ca4a3 commit b5aeea8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions win-anvil-x86_64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ FROM mcr.microsoft.com/windows/servercore:ltsc2019

SHELL ["cmd", "/S", "/C"]

WORKDIR C:/Users/ContainerAdministrator
WORKDIR C:/Users/Administrator

RUN powershell -Command " \
$url = \"https://repo.continuum.io/miniconda/Miniconda3-latest-Windows-x86_64.exe\"; \
$client = new-object System.Net.WebClient; \
$client.DownloadFile( $url, \"miniconda3.exe\"); \
./miniconda3.exe /S /D=C:\Users\ContainerAdministrator\miniconda3 | Write-Output; \
./miniconda3.exe /S /D=C:\Users\Administrator\miniconda3 | Write-Output; \
del miniconda3.exe; \
./miniconda3/Scripts/conda clean --all -y; \
"
Expand Down

0 comments on commit b5aeea8

Please sign in to comment.