Skip to content

Commit 8009989

Browse files
committed
try outer quotes
1 parent 24922b6 commit 8009989

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

m365/image/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ COPY run_container.ps1 .
2727
ENV OPA_PATH="C:\app\opa_windows_amd64.exe"
2828
RUN $ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest -Uri https://openpolicyagent.org/downloads/v$($Env:OPA_VERSION)/opa_windows_amd64.exe -OutFile $Env:OPA_PATH -UseBasicParsing
2929
RUN if ((Get-FileHash $Env:OPA_PATH -Algorithm SHA256).Hash -ne ([System.Text.Encoding]::ASCII.GetString((Invoke-WebRequest -Uri https://openpolicyagent.org/downloads/v$($Env:OPA_VERSION)/opa_windows_amd64.exe.sha256 -UseBasicParsing).Content) -split ' ')[0]) { exit 1 }
30-
RUN icacls $env:OPA_PATH /grant User Manager\ContainerUser:RX
30+
RUN icacls $env:OPA_PATH /grant "User Manager\ContainerUser:RX"
3131
USER ContainerUser
3232

3333
CMD [ "powershell", ".\\run_container.ps1" ]

0 commit comments

Comments
 (0)