electricitymaps / brick

Simple monorepo build tool based on Docker
20 stars 1 forks source link

Remove duplicate syntax directive for deploy #72

Closed skovhus closed 3 years ago

skovhus commented 3 years ago

Deployment on CI is currently failing with a cryptic "failed to create LLB definition: only one syntax parser directive can be used" error.

This seems to be caused by having multiple # syntax = docker/dockerfile:experimental pragmas in the Dockerfile when deploying. I verified the solution locally.

Not sure why this surfaced now, but I assume something changed in the Docker backend/registry.