Skip to content

Conversation

@crazy-max
Copy link
Member

@crazy-max crazy-max commented Mar 27, 2024

bump docker to 26.0.0 in the dockerfile for integration tests as well.


if !opts.force {
if ok, err := prompt(ctx, dockerCli.In(), dockerCli.Out(), warning); err != nil {
if ok, err := command.PromptForConfirmation(ctx, dockerCli.In(), dockerCli.Out(), warning); err != nil {
Copy link
Member Author

Choose a reason for hiding this comment

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

this has been fixed in docker/cli#4888

Copy link
Member

Choose a reason for hiding this comment

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

The current version can't be used because it sets up own signal handlers internally that would mess up the buildx own signal handlers. See docker/cli#4888 (review)

We need to do some copy-paste of the old/forked code to work around.

@crazy-max crazy-max marked this pull request as ready for review March 27, 2024 13:16

if !opts.force {
if ok, err := prompt(ctx, dockerCli.In(), dockerCli.Out(), warning); err != nil {
if ok, err := command.PromptForConfirmation(ctx, dockerCli.In(), dockerCli.Out(), warning); err != nil {
Copy link
Member

Choose a reason for hiding this comment

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

The current version can't be used because it sets up own signal handlers internally that would mess up the buildx own signal handlers. See docker/cli#4888 (review)

We need to do some copy-paste of the old/forked code to work around.

@tonistiigi
Copy link
Member

superseded by #2372

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants