Giter VIP home page Giter VIP logo

Comments (7)

ChristopherHX avatar ChristopherHX commented on August 30, 2024

I have problems running npm install on a github actions intel hosted agent via qemu arm64.

npm takes much much longer and eventually times out. Can I copy the node_modules of the x86_64 npm install? It takes a factor of 100 longer to download thing under arm64 emulation.

Maybe npm install --arch=arm64 in a multi stage Dockerfile running on x86_64? Then copy the node_modules to the destination.

from docker_images.

catthehacker avatar catthehacker commented on August 30, 2024

As long as something doesn't require gyp it should work fine by just copying

from docker_images.

ChristopherHX avatar ChristopherHX commented on August 30, 2024

I think this repos should switch to buildah and script the build process of the image. This makes it easier to branch for amd64 and arm64 cases and has a proper documented process to build, merge and push multi arch images.

However I postpone doing anything like that

from docker_images.

catthehacker avatar catthehacker commented on August 30, 2024

It's better to create repo for building images from scratch.

from docker_images.

ChristopherHX avatar ChristopherHX commented on August 30, 2024

It's better to create repo for building images from scratch.

Without your secrets (Obviously I could dump them somehow) I cannot do this without modifing act's default images and telling everyone to update their act settings.

My buildx hack stopped working by a docker update, I patch it here inplace with buildah and less hacks (#103)

from docker_images.

catthehacker avatar catthehacker commented on August 30, 2024

Without your secrets (Obviously I could dump them somehow) I cannot do this without modifing act's default images and telling everyone to update their act settings.

I was hoping we could have images under ghcr.io/nektos namespace or something alike

from docker_images.

ChristopherHX avatar ChristopherHX commented on August 30, 2024

Yes in long term that is better, but cplee need to create the repo first.

from docker_images.

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.