Skip to content

Commit ae8f211

Browse files
committed
debug
1 parent bb8dc98 commit ae8f211

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

m365/image/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
FROM mcr.microsoft.com/windows/servercore:ltsc2022
2-
SHELL ["powershell.exe"]
2+
SHELL ["powershell"]
33

44

55
ARG SCUBAGEAR_VERSION=1.5.0
@@ -13,14 +13,14 @@ LABEL scubagear_version=${SCUBAGEAR_VERSION}
1313
WORKDIR /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
1717
RUN Expand-Archive .\AzCopy.zip ./AzCopy -Force
1818
RUN $item = Get-ChildItem .\AzCopy\*\azcopy.exe; Move-Item -Path $item -Destination .
1919
RUN Remove-Item AzCopy.zip; Remove-Item -r .\AzCopy
2020

2121
# Needed for setup module installs
2222
RUN 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
2424
RUN Initialize-SCuBA -Scope AllUsers -NoOPA
2525
COPY run_container.ps1 .
2626

0 commit comments

Comments
 (0)