Skip to content

Commit 4427cef

Browse files
committed
fix typo
1 parent da4d052 commit 4427cef

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

m365/image/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ COPY run_container.ps1 .
2626

2727
ENV OPA_PATH="C:\app\opa_windows_amd64.exe"
2828
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$($Env:OPA_VERSION)/opa_windows_amd64.exe.sha256).Content) { exit 1 }
29+
RUN if ((Get-FileHash $Env:OPA_PATH -Algorithm SHA256).Hash -ne (Invoke-WebRequest -Uri https://openpolicyagent.org/downloads/v$($Env: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
3232

m365/image/run_container.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Foreach ($tenantConfig in $(Get-ChildItem 'input\')) {
4040
AppID = $Env:APP_ID; # App ID; Needed for Service Principal Auth
4141
Organization = $org; # primary domain of the tenantConfig needed for Service Principal Auth
4242
OutPath = ".\reports\$($org)"; # The folder path where the output will be stored
43-
OPAPath = "c:\app\opa_windows_amd64.exe"
43+
OPAPath = $Env:OPA_PATH
4444
ConfigFilePath = $tenantConfig.FullName
4545
Quiet = $true;
4646
}

0 commit comments

Comments
 (0)