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,12 +10,12 @@ WORKDIR "C:/Program Files/Vector"
1010
1111SHELL ["powershell" , "-Command" , "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';" ]
1212
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\" ; `
17- Expand-Archive -Path \ " vector.zip\ " -DestinationPath \" . \" ; `
18- Remove-Item \ " vector.zip\ " -Force
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" ; `
17+ Expand-Archive -Path "vector.zip" -DestinationPath "." ; `
18+ Remove-Item "vector.zip" -Force
1919
2020RUN setx /M PATH "%PATH%;C:\P rogram Files\V ector\b in"
2121
You can’t perform that action at this time.
0 commit comments