We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae8f211 commit 4053a19Copy full SHA for 4053a19
1 file changed
m365/image/Dockerfile
@@ -25,7 +25,7 @@ RUN Initialize-SCuBA -Scope AllUsers -NoOPA
25
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%OPA_VERSION%/opa_windows_amd64.exe -OutFile $Env:OPA_PATH -UseBasicParsing
+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 }
30
RUN icacls.exe $env:OPA_PATH /grant "User Manager\ContainerUser":RX
31
USER ContainerUser
0 commit comments