You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[the project name] MUST be exposed for interpolation and environment variable resolution as COMPOSE_PROJECT_NAME
This would be pretty handy for one of my projects (to use as a tagging prefix)
Bake doesn't really have a way to define or compute the project name that I can see (I guess as it's not used for anything?) but it' suffice for me to read it from the name: top level element
Is buildx not meant to match the features of docker and compose in order to extend them? I can't seem to get this working via buildx from a Dockerfile: FROM baseimg-${project}:latest AS stage2-app
Because project (in compose build args:) and compose_project_name don't register for buildx. Is there another way to do env var aware multi-layer builds with buildx. I would love to use compose, however I can't because of this: #175
Which suggests the only real work around is using buildx (via sudo docker buildx create --driver-opt network=). It is a game of cat and mouse with build-time networking!
The compose spec section about project names says:
This would be pretty handy for one of my projects (to use as a tagging prefix)
Bake doesn't really have a way to define or compute the project name that I can see (I guess as it's not used for anything?) but it' suffice for me to read it from the
name:
top level elementWould be:
The text was updated successfully, but these errors were encountered: