Tag all stages of docker multi-stage build

后端 未结 1 350
长情又很酷
长情又很酷 2021-01-26 23:44

Is there a way to build and tag all stages of a multistage build? A verbose (and somewhat slow) workaround is to call docker build several times:

DOC         


        
相关标签:
1条回答
  • 2021-01-26 23:58

    This is a feature of docker buildx bake which is at last check still considered experimental and I haven't seen a lot of traction for the syntax from the community.

    There's certainly been some discussion on adding this functionality in the buildkit issues and I'd recommend following those issues and adding your use case if you'd like to see it added.

    0 讨论(0)
提交回复
热议问题