Comments (3)
Seems like ppc64le failed. But i was able to build https://github.com/masonr/yet-another-bench-script/tree/master/bin in ARM64, so it should be good. Anyway, here is how i built ARM64:
- Deployed Hetzners CCX22
- Ubuntu 20.04 with "linux-virtual-hwe-20.04" Kernel (because why not?)
- Installed Docker and enabled experimental features
- Executed
docker run --privileged --rm tonistiigi/binfmt --install all
to install qemu-user-static. https://github.com/multiarch/qemu-user-static has some problems, as explained here: envoyproxy/envoy#15386 - Made a docker buildx-worker with
docker buildx create --use
- Logged into Docker/Github Container Registry, opened a tmux session and executed this:
docker buildx build --rm --pull --push --platform=linux/arm64,linux/amd64 -t ghcr.io/YOURNAMEHERE/holy-build-box:3.0.2 -t ghcr.io/YOURNAMEHERE/holy-build-box:latest -f Dockerfile-64 .
Just for a bit of caution, when i executed this it took over 6 hours to build the ARM64 image, even with dedicated AMD EPYC cores. Hope this helps.
from holy-build-box.
Not at the moment (as far as I know). It looks like there is an arm64 centos:7 docker image, so if everything compiles on arm64 it could be fairly straightforward to add one.
Checking these, it looks like building an arm64 docker image on x86 is easy enough, but I don't have things setup to test an arm64 image at the moment:
https://www.docker.com/blog/multi-arch-images/
https://www.stereolabs.com/docs/docker/building-arm-container-on-x86/
I think knowing if it works on arm64 would be interesting -- if you are able to build and test an arm64 Docker image for hbb and can see if it just works or if there are other bugs that need fixing that would be helpful towards adding support. Setting up an arm64 CI build to test creating an arm64 docker image could also help a lot with adding support.
Otherwise, I might get an arm64 system Q3/4 this year, at which point I could play with it some.
from holy-build-box.
I was able to build an ARM64 image:
https://github.com/users/cyagon/packages/container/package/holy-build-box
https://hub.docker.com/r/cyagon/holy-build-box
Maybe its possible to build a ppc64le image as well.
from holy-build-box.
Related Issues (20)
- Not Working With Docker For Windows HOT 1
- Yum update is failing - Centos 6 EOL HOT 4
- Phusion PackageCloud repo will go away / drop x86 / upgrade to CentOS 7 HOT 2
- libstdc++ version doesn't match the one in devtoolset-8 HOT 1
- Drop system OpenSSL and system curl
- Consider adding a micro-init system HOT 1
- yum update/install fails with phusion/holy-build-box-32:latest image HOT 1
- How to use hbb with visual studio
- Unable to clone https urls HOT 2
- Image parameter in tutorials requires container registry URL HOT 2
- Old libstdc++ is shipped
- activating x86 container on x64 host causes HOT 2
- Undefined references to nearly all TBB symbols when built under holy build box HOT 1
- Zlib security issue HOT 1
- Update github pages link in repo description HOT 1
- new docker image needs published
- Requesting bearer token: invalid status code from registry 403 (Forbidden)
- GitHub Pages Link outdated HOT 1
- CI failing HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from holy-build-box.