Giter Site home page Giter Site logo

arm64 version? about holy-build-box HOT 3 OPEN

phusion avatar phusion commented on August 14, 2024
arm64 version?

from holy-build-box.

Comments (3)

cyagon avatar cyagon commented on August 14, 2024 2

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.

nightlark avatar nightlark commented on August 14, 2024 1

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.

cyagon avatar cyagon commented on August 14, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.