Git Product home page Git Product logo

Comments (5)

uraimo avatar uraimo commented on May 3, 2024 1

Exactly, no single docker image since the OS Distro is different and depending on the arch you choose.
You can take a look at the actual image being used for every os/arch combination here.
But one thing that is common to all of them is that to reduce the size of the image, all of them are stripped of any cache or content that can be automatically downloaded again. For example the apt cache.
In you case, consider these image to be as minimal as possible, so every thing you need you'll need to install it (for example docker, that should be 300Mb or so).

from run-on-arch-action.

uraimo avatar uraimo commented on May 3, 2024 1

Yes exactly, every step is independent and defines a new emulated context that has its lifetime limited to the step you are in. The step following a run-on-arch one starts back in the default amd64 enviroment.

from run-on-arch-action.

uraimo avatar uraimo commented on May 3, 2024

These images we use have the bare minimum inside (even the apt cache have been stripped), so you'll have to run a "apt update;apt ugrade" and "apt install docker-ce docker-ce-cli containerd.io" or variations to install docker.
Once done, docker should work I suppose.

from run-on-arch-action.

marco-brandizi avatar marco-brandizi commented on May 3, 2024

Thanks. @uraimo, I'll try it. So, you mean, there isn't a default Docker image that it's used by all the builds and all the actions add up to it?

from run-on-arch-action.

marco-brandizi avatar marco-brandizi commented on May 3, 2024

Thanks, what I actually meant is that I was assuming there is an image that can be set at the beginning of the config file and that GH Actions uses for all the build steps and actions. Instead, it seems that every action can set up its own image.

from run-on-arch-action.

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.