GitLab runner on Windows with bash shell on windows contianer on Docker

At times, you may run browser testing across different platform/environments as a part of your pipeline.

To minimize the time for your testing, you may need to use a consistent shell scripting language across different platforms.

This is one approach to fix this, which allows one to use bash shell on Windows with shell executor - Alternatively, you can use pwsh across the board.

If you intend to use docker-windows executor you will need a gitlab helper container image with bash support.  Build one for yourself - .

To build the application image, I would use windowscore or windowsserver(for GUI application) base image. To manage/install applications I would use choco




RUN choco install -y google-chrome-stable --version $Env:

Once done, update the runner config to use this helper image.


Popular posts from this blog

phpipam behind a load balancer which handles ssl offloading

recovering LUKS encrypted Ubuntu LV Group when mounting on a different Ubuntu system