Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add missing docker cli and buildx plugin when running in docker #160

Merged
merged 2 commits into from
Oct 23, 2022

Conversation

MarshallAsch
Copy link
Contributor

@MarshallAsch MarshallAsch commented Oct 22, 2022

Closes: #123

Describe the pull request:

The docker image did not include the docker cli client or thr buildx plugin which are called directly when building multi architecture images.

This adds both binaries to the image and will setup a new buildx builder for the lifetime of the command.


Checklist:

  • Verify that the changes work as expected
  • Verify that the changes work as expected when run using docker
  • Update documentation / not applicable
  • Update changelog / not applicable

builder/cli.py Outdated
cleanup_buildx(old_builder, builder_name)


def setup_buildx() -> tuple:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Suggested change
def setup_buildx() -> tuple:
def setup_buildx() -> Tuple[str, str]:

@MarshallAsch MarshallAsch merged commit 2aa04f5 into main Oct 23, 2022
@MarshallAsch MarshallAsch deleted the fix-running-in-docker branch October 23, 2022 00:53
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.

Confirm that multi arch builds from within a docker container
1 participant