Skip to content

Conversation

jedevc
Copy link
Collaborator

@jedevc jedevc commented May 10, 2023

⬆️ Follow-up to #1753 (cc @nicksieger)

compose-go v1.13.0 supports the new dockerfile_inline and additional_contexts properties, so we should translate them to the relevant bake construct.

Will probably need an update in https://docs.docker.com/build/bake/compose-file/ after merging.

jedevc added 2 commits May 10, 2023 09:39
compose-go v1.13.0 supports the new dockerfile_inline to allow including
a dockerfile inline in the compose definition, so we should map this to
bake's dockerfile-inline property.

Signed-off-by: Justin Chadwell <me@jedevc.com>
compose-go v1.13.0 supports the new additional_contexts to allow passing
additional build context during build, so we should map this to bake's
contexts property.

Signed-off-by: Justin Chadwell <me@jedevc.com>
Copy link
Member

@nicksieger nicksieger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@jedevc jedevc merged commit fdcb4e2 into docker:master May 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants