File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11FROM mcr.microsoft.com/windows/servercore:ltsc2022
2- SHELL ["powershell.exe " ]
2+ SHELL ["powershell" ]
33
44
55ARG SCUBAGEAR_VERSION=1.5.0
@@ -13,14 +13,14 @@ LABEL scubagear_version=${SCUBAGEAR_VERSION}
1313WORKDIR /app
1414
1515# download azcopy exe to workdir
16- RUN Invoke-WebRequest -Uri % AZCOPY_URL% -OutFile AzCopy.zip -UseBasicParsing
16+ RUN Invoke-WebRequest -Uri $Env: AZCOPY_URL -OutFile AzCopy.zip -UseBasicParsing
1717RUN Expand-Archive .\A zCopy.zip ./AzCopy -Force
1818RUN $item = Get-ChildItem .\A zCopy\*\a zcopy.exe; Move-Item -Path $item -Destination .
1919RUN Remove-Item AzCopy.zip; Remove-Item -r .\A zCopy
2020
2121# Needed for setup module installs
2222RUN Install-PackageProvider -Name NuGet -Force
23- RUN Install-Module -Name ScubaGear -RequiredVersion % SCUBAGEAR_VERSION% -Force
23+ RUN Install-Module -Name ScubaGear -RequiredVersion $Env: SCUBAGEAR_VERSION -Force
2424RUN Initialize-SCuBA -Scope AllUsers -NoOPA
2525COPY run_container.ps1 .
2626
You can’t perform that action at this time.
0 commit comments