Skip to content

Add support for window for volume mounting

Description

When building volumes for the docker executor, we are validating and building unix parts in the following parts:

When creating the build volume and user volumes we assume unix pathvolumes we assume unix path, to support windows we have to check the runtime of the runner of configured Docker Engine and handle this accordingly.

Proposal

This was already done in !706 (diffs) with a concrete example, which uses splitWindowsPath that was copied from docker source code itslef, but since we are importing github.com/docker/docker we can use it directly .

Links to related issues and merge requests / references

!706 (closed)

Edited by Steve Xuereb