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

Add ARM64 build #3537

Merged
merged 3 commits into from
Jan 2, 2019
Merged

Add ARM64 build #3537

merged 3 commits into from
Jan 2, 2019

Conversation

carlosedp
Copy link
Contributor

Actually I don't know how to add to the current PR #3372 (sorry) so I submitted this.

I can confirm that it builds and works perfectly on ARM64 in my current cluster: https://twitter.com/carlosedp/status/1073218995321483264

I'm currently building the ARM64 images and pushing them into my DockerHub account: https://hub.docker.com/r/carlosedp/scope

@carlosedp carlosedp mentioned this pull request Dec 18, 2018
Copy link
Collaborator

@bboreham bboreham left a comment

Choose a reason for hiding this comment

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

Thanks! One question below.

curl -fsSLO https://download.docker.com/linux/static/stable/aarch64/docker-${DOCKERVERSION}.tgz && \
tar xzvf docker-${DOCKERVERSION}.tgz --strip 1 -C /usr/local/bin docker/docker && \
rm docker-${DOCKERVERSION}.tgz; \
else \
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we special-case amd64 too, so if you build on something else you get an error and you know you have to fix it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure, will update the PR. BTW, I had to bump the Docker client version a bit since the previous used version was not built for ARM.

curl -fsSLO https://download.docker.com/linux/static/stable/x86_64/docker-${DOCKERVERSION}.tgz && \
tar xzvf docker-${DOCKERVERSION}.tgz --strip 1 -C /usr/local/bin docker/docker && \
rm docker-${DOCKERVERSION}.tgz; \
fi;
Copy link
Collaborator

Choose a reason for hiding this comment

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

I was expecting some kind of "else error" here, otherwise the failure mode is quite obscure.

@carlosedp
Copy link
Contributor Author

Oops, sorry. I messed up with a merge. Will fix the branch.

@carlosedp
Copy link
Contributor Author

Fixed!

Copy link
Collaborator

@bboreham bboreham left a comment

Choose a reason for hiding this comment

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

Thanks!

@bboreham bboreham merged commit fdd1c26 into weaveworks:master Jan 2, 2019
@carlosedp
Copy link
Contributor Author

@bboreham Is it possible to add the ARM image build to the CI? I see you guys use Circle-CI but I'm not versed on it. I could take a look tho. Dunno if Circle have multi-arch infrastructure for this but Weave Net already builds multi-arch images and manifests.

@bboreham
Copy link
Collaborator

bboreham commented Jan 2, 2019

Sadly the status of Weave Net is I run the final release build by hand because it didn't work on CircleCI.
I think it is doable now, and should be easier for Scope, but we don't have prior art.

@odidev
Copy link

odidev commented Jan 5, 2021

It will be very helpful if ARM64 image is released as ARM64 support has already been added. May I know when are you planning to release an ARM64 image?

@bboreham
Copy link
Collaborator

bboreham commented Jan 5, 2021

Happy to review a PR.

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.

3 participants