Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Build context parameter in docker-compose can not be parsed as string #327
Given the following
services: app: build: .
I get an error when I run
ERROR: yaml: unmarshal errors: line 3: cannot unmarshal !!str `.` into crane.BuildParameters
The above syntax is valid, according to the official version 2 docker-compose reference.
If I change the
services: app: build: context: .
Thanks for the detailed report.
Crane aims to be docker-compose v3 compatible. However, in this case both v2 and v3 are the same, and they do support a string for
I propose the following:
Do you want to have a look into fixing it? If not, I will have a look at it sometime this month, but it is not top priority as there is a work-around.