Skip to content

Support new compose features in bake#1784

Merged
jedevc merged 2 commits intodocker:masterfrom
jedevc:support-new-compose-features
May 11, 2023
Merged

Support new compose features in bake#1784
jedevc merged 2 commits intodocker:masterfrom
jedevc:support-new-compose-features

Conversation

@jedevc
Copy link
Copy Markdown
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 <[email protected]>
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 <[email protected]>
Copy link
Copy Markdown
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