skip to Main Content

Docker – Installing exe inside Windows container using PowerShell

I am facing problem with installation of .exe file inside docker container: FROM mcr.microsoft.com/dotnet/sdk:7.0 AS base SHELL ["pwsh", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] RUN dotnet tool install --global --version 7.3.11 PowerShell ADD https://downloads.unidata.ucar.edu/netcdf-c/4.9.2/netCDF4.9.2-NC4-DAP-64.exe lib/netCDF4.9.2-NC4-DAP-64.exe RUN start-process -Filepath "C:libnetCDF4.9.2-NC4-DAP-64.exe"…

VIEW QUESTION
Back To Top
Search