Docker compose consider the build context as a relative path, although it is in fact a GitLab URL.
docker-compose.yml (I use an access token for GitLab authentication)
version: '2'
services:
myservice:
build:
context: PVNSE9czG66obizewyfQ@gitlab.mycompany.com:myproject/myservice.git#dev-1.0
Error message
build path /mnt/sda1/tmp/test-docker-compose/PVNSE9czG66obizewyfQ@gitlab.mycompany.com:myproject/myservice.git#dev-1.0 either does not exist, is not accessible, or is not a valid URL.
I tried to put the context between " ", but it is the same.