Running a PowerShell script in Dockerfile

Recently we needed to create a Docker image that provided multiple command line tools as part of our CI/CD pipeline. As part of our pipeline we use PowerShell Core to run scripts, triggering changes within our AWS infrastructure, this means installing the AWS SDK module into the Docker image so we don’t have to download it on every single use. …