2

I am using docker with powershell. I want to download and install webdeploy .msi

I am using the following code:

RUN Invoke-WebRequest http://download.microsoft.com/download/0/1/D/01DC28EA-638C-4A22-A57B-4CEF97755C6C/WebDeploy_x86_en-US.msi  -OutFile webdeploy.msi; \
Start-Process msiexec -Wait -ArgumentList /q, /i, -PassThru, webdeploy.msi ; \
Remove-Item -Force webdeploy.msi

When I run: docker build -t test.

Everything goes fine.

When I then check the folder "Program Files (x86)" inside the container I dont see any folder "IIS".

I also tried:

RUN Invoke-WebRequest http://download.microsoft.com/download/0/1/D/01DC28EA-638C-4A22-A57B-4CEF97755C6C/WebDeploy_x86_en-US.msi -OutFile webdeploy.msi; \
Start-Process msiexec -Wait -ArgumentList /q, /i, webdeploy.msi ; \
Remove-Item -Force webdeploy.msi

Some help would be appreciated.

xxx2017
  • 207
  • 1
  • 5
  • 15

0 Answers0