Q:

Docker Compose: cannot run ssh: No such file or directory

I'm trying to use docker-compose to fetch, build and run multiple services from their git repositories. I made a simple docker-compose.yml to test it:
version: '3'

services:
  test-service:
    build: git@gitlab.com:dan-poltherm/partservicego.git
    ports:
      - 8005:443

It seems that docker-compose can't fetch repository I get following error when calling docker-compose up --build:
ERROR: error fetching: fatal: cannot run ssh: No such file or directory

I have OpenSSH Client installed (Windows 10 port) and %SYSTEMROOT%\System32\OpenSSH\ added to PATH, I also set GIT_SSH to C:\Windows\System32\OpenSSH\ssh.exe. I can clone repo with git clone and ssh also works from powershell.

A:

Personal access token is a way to go

