File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,7 +10,10 @@ WORKDIR C:/Program Files/Vector
1010
1111SHELL ["powershell" , "-Command" , "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';" ]
1212
13- RUN Invoke-WebRequest -UseBasicParsing -Uri "https://github.com/vectordotdev/vector/releases/download/v$$env:VECTOR_VERSION/vector-$env:VECTOR_VERSION-x86_64-pc-windows-msvc.zip" -OutFile "vector.zip" ; \
13+ RUN Write-Host "VECTOR_VERSION: $$env:VECTOR_VERSION" ; \
14+ $url = "https://github.com/vectordotdev/vector/releases/download/v$$env:VECTOR_VERSION/vector-$$env:VECTOR_VERSION-x86_64-pc-windows-msvc.zip" ; \
15+ Write-Host "Download URL: $url" ; \
16+ Invoke-WebRequest -UseBasicParsing -Uri $url -OutFile "vector.zip" ; \
1417 Expand-Archive -Path "vector.zip" -DestinationPath "." ; \
1518 Remove-Item "vector.zip"
1619
You can’t perform that action at this time.
0 commit comments