We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 24922b6 commit 8009989Copy full SHA for 8009989
1 file changed
m365/image/Dockerfile
@@ -27,7 +27,7 @@ COPY run_container.ps1 .
27
ENV OPA_PATH="C:\app\opa_windows_amd64.exe"
28
RUN $ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest -Uri https://openpolicyagent.org/downloads/v$($Env:OPA_VERSION)/opa_windows_amd64.exe -OutFile $Env:OPA_PATH -UseBasicParsing
29
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
+RUN icacls $env:OPA_PATH /grant "User Manager\ContainerUser:RX"
31
USER ContainerUser
32
33
CMD [ "powershell", ".\\run_container.ps1" ]
0 commit comments