From 785274df6da54c95a17c4dc3a215131b3878bb31 Mon Sep 17 00:00:00 2001 From: Alexey Pustovalov Date: Fri, 27 Dec 2024 17:33:12 +0900 Subject: [PATCH] Using ADD instruction instead of PowerShell download --- Dockerfiles/build-base/windows/Dockerfile.agent | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Dockerfiles/build-base/windows/Dockerfile.agent b/Dockerfiles/build-base/windows/Dockerfile.agent index 6ca9733ee..61eb23696 100644 --- a/Dockerfiles/build-base/windows/Dockerfile.agent +++ b/Dockerfiles/build-base/windows/Dockerfile.agent @@ -54,10 +54,7 @@ ADD --checksum=sha256:a889ac9dbba3644271bd9d1302b5c22a088893719b72be3487bc3d401e COPY modbus.vs16.* C:\build_src\libmodbus_project\ -RUN --mount=from=config_templates,target=C:\conf ` - dir C:\conf; ` - Set-Location -Path $env:SystemDrive\.; ` - Get-ChildItem Env:; ` +RUN Set-Location -Path $env:SystemDrive\.; ` [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; ` ` $env:PATH = [string]::Format('{0}\perl\perl\bin;{1}\NASM;{0}\git\cmd;{0}\git\mingw64\bin;{0}\git\usr\bin;', $env:SystemDrive, ${env:ProgramFiles}) + $env:PATH; `