.exe files are not running in windows docker images
Hey There,
I am trying to run the following Dockerfile to containerize the Netduino.exe file and would like to use it as a Gitlab runner. However, the .exe files are running in the following Docker Images. Not only Netduino.exe, other .exe files like vs_buildtools.exe is also not running. Could you please assist me to resolve this. Thanks
Dockerfile
=======
FROM mcr.microsoft.com/windows/servercore:ltsc2019
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
USER ContainerAdministrator
ENV NET_DUINO_PATH="C:\Program Files (x86)"
COPY nodejs\Netduino_SDK_v4.3.2.1.exe C:\TEMP\Netduino_SDK_v4.3.2.1.exe
RUN Start-Process -FilePath 'C:\TEMP\Netduino_SDK_v4.3.2.1.exe' -ArgumentList '--quiet', '--wait', '--norestart', '--nocache', '/silent', '/accept' -Wait -NoNewWindow -PassThru;
RUN ls $env:NET_DUINO_PATH;
CMD ["powershell.exe", "C:\TEMP\Netduino_SDK_v4.3.2.1.exe", "-NoLogo", "-ExecutionPolicy", "Bypass"]