Skip to content

Commit 85b9dc9

Browse files
committed
fix: simplify further
1 parent 02eefea commit 85b9dc9

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ WORKDIR "C:/Program Files/Vector"
1010

1111
SHELL ["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

2020
RUN setx /M PATH "%PATH%;C:\Program Files\Vector\bin"
2121

0 commit comments

Comments
 (0)