I would like to install a msi file into my Docker container. The application has some dependencies, so I downloaded from Docker Hub an Image with ASP and .NET Framework.
I would like to install into that container some files, I prepared a Dockerfile with the following content:
FROM mcr.microsoft.com/dotnet/framework/aspnet WORKDIR /app COPY . /app SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] RUN Start-Process 'C:\\app\mySetup.msi' '/qn' -PassThru | Wait-Process;
Nothing occurs, my application is not installed. Also happens with another dependencies.
Even I try to execute them in the container (because I copied it as you see in Dockerfile) but nothing occurs.
Someone could help me?
Thank you very much.