We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4053a19 commit da4d052Copy full SHA for da4d052
1 file changed
m365/image/Dockerfile
@@ -26,7 +26,7 @@ COPY run_container.ps1 .
26
27
ENV OPA_PATH="C:\app\opa_windows_amd64.exe"
28
RUN 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 SHA265).Hash -ne (Invoke-WebRequest -Uri https://openpolicyagent.org/downloads/v%OPA_VERSION%/opa_windows_amd64.exe.sha256).Content) { exit 1 }
+RUN if ((Get-FileHash $Env:OPA_PATH -Algorithm SHA265).Hash -ne (Invoke-WebRequest -Uri https://openpolicyagent.org/downloads/v$($Env:OPA_VERSION)/opa_windows_amd64.exe.sha256).Content) { exit 1 }
30
RUN icacls.exe $env:OPA_PATH /grant "User Manager\ContainerUser":RX
31
USER ContainerUser
32
0 commit comments