Giter VIP home page Giter VIP logo

Comments (5)

lukasholzer avatar lukasholzer commented on June 12, 2024 1

Current status (Pipeline for building the image on circleci is working and already pushing it to hub.docker.com)

netlfiy/build:chore-build-multiarch-image

CleanShot 2022-08-18 at 11 33 37

CleanShot 2022-08-18 at 13 11 42

Need to run the structure tests for arm64 as well as I noticed that we are blocked by our binrc library which does not support arm64 netlify/binrc#36

from build-image.

lukasholzer avatar lukasholzer commented on June 12, 2024

Currently hitting a wall with cross compilation issues and some of our binaries like wkhtml and erlang.

Currently questioning if it is worth the effort on trying to do so @kitop and digging more into the rabbit hole or waiting for jammy where we could drop support for a lot of binaries that are old (maybe they are not needed anymore)

Not sure if I find a way around that:

------
 > [7/7] RUN dpkg -i wkhtmltox_0.12.6-1.focal_amd64.deb:
#0 0.060 dpkg: error processing archive wkhtmltox_0.12.6-1.focal_amd64.deb (--install):
#0 0.060  package architecture (amd64) does not match system (arm64)
#0 0.070 Errors were encountered while processing:
#0 0.070  wkhtmltox_0.12.6-1.focal_amd64.deb
------

https://app.circleci.com/pipelines/github/netlify/build-image/591/workflows/6663b065-6ddf-47af-83eb-750713bedb23/jobs/1628?invite=true#step-106-4918

from build-image.

kitop avatar kitop commented on June 12, 2024

Mhmm... would love to have a full list of the dependencies and evaluate based on that. But current hunch is that we might better wait if this is not being a big blocker (ie: we have a workaround) at the moment. What do you think?

from build-image.

lukasholzer avatar lukasholzer commented on June 12, 2024

So the full list would be:

  • homebrew (not working on arm in the current image as well, excluded via an if)
  • wkhtmltopdf (which throws this weird architecture issues)
  • Pandoc (which throws this weird architecture issues)

Seems like the issue is on the side of the packages:
mavlink/MAVSDK#1673 (different package but same issue)

So why we need the multi arch image is to run our buildbot tests inside this image and make local dev better working with it.

As The buildbot image extends from this one we would need a arm image to build on m1 macs.

from build-image.

lukasholzer avatar lukasholzer commented on June 12, 2024

@kitop I've created a test image without them and pushed it so here it is: https://hub.docker.com/r/lukasholzer/build-image/tags

It's the build image excluding the 2 things from the top:
CleanShot 2022-08-11 at 11 46 01@2x

from build-image.

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.