Skip to content

Commit 4053a19

Browse files
committed
fix var
1 parent ae8f211 commit 4053a19

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
@@ -25,7 +25,7 @@ RUN Initialize-SCuBA -Scope AllUsers -NoOPA
2525
COPY run_container.ps1 .
2626

2727
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
28+
RUN 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 SHA265).Hash -ne (Invoke-WebRequest -Uri https://openpolicyagent.org/downloads/v%OPA_VERSION%/opa_windows_amd64.exe.sha256).Content) { exit 1 }
3030
RUN icacls.exe $env:OPA_PATH /grant "User Manager\ContainerUser":RX
3131
USER ContainerUser

0 commit comments

Comments
 (0)