buildx icon indicating copy to clipboard operation
buildx copied to clipboard

Cannot run docker build against a BuildKit instance with dockerfile.v0 frontend disabled

Open bentekkie opened this issue 9 months ago • 1 comments

Contributing guidelines

I've found a bug and checked that ...

  • [x] ... the documentation does not mention anything about my problem
  • [x] ... there are no open or closed issues that are related to my problem

Description

Running docker build --builder=someremote --build-arg BUILDKIT_SYNTAX=... against a BuildKit instance where the dockerfile.v0 frontend is disabled doesnt work

Expected behaviour

I expected that the docker image spec provided to BUILDKIT_SYNTAX would be used via the gateway.v0 frontend

Actual behaviour

ERROR: failed to solve: invalid frontend: dockerfile.v0

Buildx version

github.com/docker/buildx v0.9.1-docker ed00243a0ce2a0aee75311b06e32d33b44729689

Docker info


Builders list

NAME/NODE           DRIVER/ENDPOINT                                                                       STATUS  BUILDKIT PLATFORMS
gv                  remote                                                                                                 
  gv0               unix://<redacted>/buildkitd.sock running v0.20.1  linux/amd64, linux/amd64/v2, linux/amd64/v3
stupefied_wright    docker-container                                                                                       
  stupefied_wright0 unix:///var/run/docker.sock                                                           stopped          
default *           docker                                                                                                 
  default           default                                                                               running 20.10.21 linux/amd64, linux/386

Configuration

N/A

Build logs


Additional info

No response

bentekkie avatar Mar 21 '25 19:03 bentekkie

Hi @tonistiigi i have seen that you have added good first issue if possible can you help me on completing this task tell me what to do i will try to complete this I am new here

UB2002 avatar Apr 13 '25 13:04 UB2002

If anyone is not working on this, I want to do this.

nimdrak avatar Aug 06 '25 07:08 nimdrak