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

WIP: Added Docker multiarch build #65

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

GeorgeSapkin
Copy link
Contributor

This is a work in progress of a Docker multiarch build. arm64v8 seems to be broken ATM. qemu-user-static needs to be setup for this to work.

Usage

Build operator:

make operator repo=somedockerid

This will make ${somedockerid}/nats-operator/${arch}-${git_tag} images.

Push operator and multiarch manifest:

make push-operator repo=somedockerid

Same commands are available for reloader.

Only amd64 and arm32v6 are tested and working when building from Fedora 28 x64 with Docker 18.06.0-ce and QEMU 2.11.2-2.fc28.

TODO:

  • Fix arm64v8 build. Currently it's giving me:
go tool link: exit status 127
**
ERROR:/builddir/build/BUILD/qemu-2.11.2/qom/object.c:1645:object_get_canonical_path_component: code should not be reached

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.

None yet

1 participant