This works:
FROM microsoft/windowsservercore
ADD hello.ps1 .
ADD world.ps1 .
CMD powershell .\hello.ps1 ; .\world.ps1
Here’s an example: https://gist.github.com/friism/f063ecb1c8ba7259a426a53547fe5e18
Share and learn in the Docker community.
This works:
FROM microsoft/windowsservercore
ADD hello.ps1 .
ADD world.ps1 .
CMD powershell .\hello.ps1 ; .\world.ps1
Here’s an example: https://gist.github.com/friism/f063ecb1c8ba7259a426a53547fe5e18