GithubHelp home page GithubHelp logo

Provide multiarch Docker image about flexo HOT 4 OPEN

jhbruhn avatar jhbruhn commented on August 18, 2024
Provide multiarch Docker image

from flexo.

Comments (4)

nroi avatar nroi commented on August 18, 2024 1

I've managed to build Flexo for ARM64 via buildx with GitHub's CI Pipeline, but for older versions (armv6, armv7), it seems there is a bug in buildx: docker/buildx#395

So we'll have to wait until this is solved or someone comes up with a workaround. Until then, the CI is going to build for amd64 and arm64.

I'm still in the process of improving the CI for building docker images and will give you an update soon.

from flexo.

jhbruhn avatar jhbruhn commented on August 18, 2024

docker/buildx#395 (comment) mentions a workaround by doing the cargo fetch step in the arch of the current build step an then switching to the target architecture for building and running the application. Building on ARM should also still work using the workaround as the architecture used for fetching depends othe architecture the build is running on.

from flexo.

nroi avatar nroi commented on August 18, 2024

I have had some success with the workaround, but still no luck with armv6. Also, I wasn't able to push it to Docker Hub, I was only able to use github's GHCR.

So, the current status is:

  • All Flexo images on Docker Hub are x86 only.
  • For pulling ARM images, use GHCR: docker pull ghcr.io/docker-flexo/docker-flexo:master
  • armv6 is not supported on either repositories, you need to build the image yourself.

from flexo.

nroi avatar nroi commented on August 18, 2024

For some reason, the CI job I've created at https://github.com/docker-flexo/docker-flexo often times out when building the ARM image. For now, I've removed the job that pushes the image to GHCR, so that means no ARM docker images are provided anymore.

I'm prioritizing other issues before this one, so please don't expect this to be solved anytime soon. If anyone wants to help, you can of course just fork this repo or this repo and try your luck. But for now, ARM users just have to build the Docker image themselves or use the AUR package.

from flexo.

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.