runner icon indicating copy to clipboard operation
runner copied to clipboard

fix: add `jq`, `git`, `unzip` and `curl` to default packages installed

Open onedr0p opened this issue 2 years ago • 15 comments

Hi 👋🏼

I am using this runner with the Actions Runner Controller

These three packages are used by a ton of actions on the marketplace. It would be nice if they were installed and ready for use instead of having to install them with apt-get on every single Github workflow. If using more than one job in a workflow you have to have a step to install these in each one.

I know you all probably want to keep a low footprint of installed tools but these are probably just as important as sudo for user experience.

onedr0p avatar Dec 26 '23 19:12 onedr0p

Will also fix https://github.com/actions/actions-runner-controller/issues/3222

withinboredom avatar Jan 13 '24 12:01 withinboredom

any update on this?

omri-shilton avatar Jan 22 '24 13:01 omri-shilton

as some people already asked, is there any update on this?

dcardellino24 avatar Feb 27 '24 16:02 dcardellino24

The silence from the action/runners maintainers is deafening 😭

onedr0p avatar Feb 27 '24 16:02 onedr0p

There's probably some huge philosophical debate behind closed doors:

  • the practical: yeah, this makes sense
  • the minimalist: they'd have it be a clone of scratch if they could get away with it

withinboredom avatar Feb 27 '24 18:02 withinboredom

I'm starting to wonder if the project is maintained. I mean, I clearly see them merging PRs but only their own PRs and without much context/comments on them. They don't seem to be interested in community contributions or building this with the community.

withinboredom avatar Mar 07 '24 12:03 withinboredom

It's probably based on business driven development, meaning paying customers who want changes are prioritized. 😢

onedr0p avatar Mar 07 '24 13:03 onedr0p

Honestly it seems to be community doesn't matter for them))

danitfk avatar May 07 '24 10:05 danitfk

The decision behind our slim image was to:

provide a small image that can be used to execute workflows in case you don't need extra tools

Except you can't execute any workflows because not even git is installed... for a GitHub builder...

withinboredom avatar May 10 '24 07:05 withinboredom

This is funny... https://github.com/actions/runner/pull/3273

onedr0p avatar May 30 '24 17:05 onedr0p

👋🏼 @TingluoHuang is this purposely getting ignored?

onedr0p avatar May 30 '24 17:05 onedr0p

any news on this?

omri-shilton avatar Jul 28 '24 16:07 omri-shilton

@omri-shilton (or anyone else) if the company you work for has a support contract with GitHub, bring this up in a ticket. My assumptions are it doesn't look like individual contributors PRs are prioritized unless there's a push from a GitHub customer.

onedr0p avatar Jul 28 '24 16:07 onedr0p

There have been other issues created about how bare the self hosted runner image is. It doesn't seem like a priority for github. Doesn't seem like they're willing to budge on this unfortunately.

https://github.com/actions/runner/issues/3080

I think there was a discussion post about it somewhere too.

mbmcmullen27 avatar Jul 28 '24 17:07 mbmcmullen27

If I had a tinfoil hat 👽 at this point: they want your first jobs to fail so that you don't use self-hosted runners. We all know that a greater barrier to entry means less people will use it. /s

withinboredom avatar Jul 29 '24 17:07 withinboredom

Sorry for the tumbleweeds, let me poke the team and get someone to look at this.

nebuk89 avatar Jul 31 '24 14:07 nebuk89

Updated.

onedr0p avatar Jul 31 '24 14:07 onedr0p

We have to spend ~20s each build installing git - this would be such a great change 🙏

wwalters12 avatar Aug 06 '24 18:08 wwalters12

@nebuk89 @TingluoHuang any update?

onedr0p avatar Aug 06 '24 19:08 onedr0p

instead of having to install them with apt-get on every single Github workflow. If using more than one job in a workflow you have to have a step to install these in each one.

@onedr0p why not use your own runner image with all the packages you need already installed?

shaul75 avatar Aug 13 '24 21:08 shaul75

I already do that but it wouldn't be required for me to maintain if the GitHub runner included Git by default.

onedr0p avatar Aug 13 '24 22:08 onedr0p

I will follow up!

nebuk89 avatar Aug 19 '24 10:08 nebuk89

🥇

withinboredom avatar Aug 20 '24 15:08 withinboredom

I really love this update!!

GeunSam2 avatar Sep 04 '24 07:09 GeunSam2

When will this change be included in a patch release v2.319.2? Still experiencing issues with this.

mbelot007 avatar Sep 12 '24 18:09 mbelot007