Created
February 21, 2021 02:35
-
-
Save nam20485/adc7d2986fdbdc4dbd7d3b5869d9418d to your computer and use it in GitHub Desktop.
Download and install .MSI installer in Dockerfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RUN Write-Host 'Downloading iisnode' ; \ | |
$MsiFile = $env:Temp + '\iisnode.msi' ; \ | |
(New-Object Net.WebClient).DownloadFile('https://github.com/tjanczuk/iisnode/releases/download/v0.2.21/iisnode-full-v0.2.21-x64.msi', $MsiFile) ; \ | |
Write-Host 'Installing iisnode' ; \ | |
Start-Process msiexec.exe -ArgumentList '/i', $MsiFile, '/quiet', '/norestart' -NoNewWindow -Wait |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment