File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# This was largely based on; https://github.com/djboris9/vector-windows/blob/main/Dockerfile
22
33ARG WINDOWS_VERSION
4- ARG VECTOR_VERSION
54
65FROM mcr.microsoft.com/windows/servercore:$WINDOWS_VERSION
76
7+ ARG VECTOR_VERSION
8+
89WORKDIR C:/Program Files/Vector
910
1011SHELL ["powershell" , "-Command" , "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';" ]
1112
12- RUN Invoke-WebRequest -UseBasicParsing -Uri "https://github.com/vectordotdev/vector/releases/download/v${ VECTOR_VERSION} /vector-${ VECTOR_VERSION} -x86_64-pc-windows-msvc.zip" -OutFile "vector.zip" ; \
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" ; \
1314 Expand-Archive -Path "vector.zip" -DestinationPath "." ; \
1415 Remove-Item "vector.zip"
1516
You can’t perform that action at this time.
0 commit comments