Skip to content

Commit

Permalink
[Windows] Install Visual C++ redistributables (#253)
Browse files Browse the repository at this point in the history
There are JLLs that require the Visual C++ redistributables, let's allow those JLLs to be used within these containers
  • Loading branch information
staticfloat authored Jul 31, 2024
1 parent 4151f42 commit 77861ed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions windows/package-i686/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ RUN powershell -Command "\
setx /M PATH ('%PATH%;' + (Resolve-Path 'C:/Program Files (x86)/Windows Kits/10/bin/*/x64/')) ; \
Remove-Item '%SDK_EXE%'"

# Install Visual C++ redistributables
RUN powershell -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://vcredist.com/install.ps1'))"

# Install AWS CLI
RUN msiexec.exe /i "https://awscli.amazonaws.com/AWSCLIV2.msi" /quiet /qn && \
setx /M PATH "%PATH%;C:\Program Files\Amazon\AWSCLIV2"
Expand Down
2 changes: 2 additions & 0 deletions windows/package-x86_64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ RUN powershell -Command "\
setx /M PATH ('%PATH%;' + (Resolve-Path 'C:/Program Files (x86)/Windows Kits/10/bin/*/x64/')) ; \
Remove-Item '%SDK_EXE%'"

RUN powershell -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://vcredist.com/install.ps1'))"

# Install AWS CLI
RUN msiexec.exe /i "https://awscli.amazonaws.com/AWSCLIV2.msi" /quiet /qn && \
setx /M PATH "%PATH%;C:\Program Files\Amazon\AWSCLIV2"
Expand Down

0 comments on commit 77861ed

Please sign in to comment.