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

Publish linux/arm64 images #101

Merged
merged 2 commits into from
Apr 15, 2022
Merged

Conversation

WesleyRosenblum
Copy link
Contributor

This change upgrades to docker/build-push-action v2 (which supports building multi-platform images) and adds support for linux/arm64. This is needed for running the quic network simulator locally on ARM hardware, such as Apple M1.


- name: Set up QEMU
id: qemu
uses: docker/setup-qemu-action@v1
Copy link
Collaborator

Choose a reason for hiding this comment

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

What does this do?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is installing QEMU binaries to support building for ARM.

The suggestion to use this came from docker/buildx#495 (comment), prior to including this I was getting many errors in my local fork, such as:

#15 28.06 Error while loading /usr/sbin/dpkg-split: No such file or directory
#15 28.07 Error while loading /usr/sbin/dpkg-deb: No such file or directory
#15 28.07 dpkg: error processing archive /tmp/apt-dpkg-install-Gsh52m/00-libssl1.1_1.1.1f-1ubuntu2.12_arm64.deb (--unpack):
#15 28.07  dpkg-deb --control subprocess returned error exit status 1

@WesleyRosenblum
Copy link
Contributor Author

Hi @marten-seemann, can this be merged?

Copy link
Collaborator

@marten-seemann marten-seemann left a comment

Choose a reason for hiding this comment

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

Thank you!

@marten-seemann
Copy link
Collaborator

@WesleyRosenblum CI seems unhappy with this change. Can you check what's going on?

@WesleyRosenblum
Copy link
Contributor Author

@WesleyRosenblum CI seems unhappy with this change. Can you check what's going on?

I can't see the exact issue, but I'm guessing it's because pull requests from forked repos do not have access to the secrets needed to login to Docker hub

@marten-seemann
Copy link
Collaborator

Ok, let's see how it behaves on master.

@marten-seemann marten-seemann merged commit dc7ae2f into quic-interop:master Apr 15, 2022
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