Using ADD instruction instead of PowerShell download

This commit is contained in:
Alexey Pustovalov 2024-12-27 17:20:00 +09:00
parent 3b2243cf15
commit 7b8beabbf7

View File

@ -54,7 +54,8 @@ ADD --checksum=sha256:a889ac9dbba3644271bd9d1302b5c22a088893719b72be3487bc3d401e
COPY modbus.vs16.* C:\build_src\libmodbus_project\
RUN Set-Location -Path $env:SystemDrive\.; `
RUN --mount=from=config_templates,target=C:\conf \
Set-Location -Path $env:SystemDrive\.; `
Get-ChildItem Env:; `
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; `
`