actions / actions-runner-controller

Kubernetes controller for GitHub Actions self-hosted runners
Apache License 2.0
4.64k stars 1.1k forks source link

Add more packages to base arc runners #3342

Closed gfrid closed 6 months ago

gfrid commented 6 months ago

What would you like added?

Add the following packages as default in arc runners

Why is this needed?

The Arc runner is too shallow to be able to use it with almost any action in Marketplace also the lack of GIT installation renders the ARC unusable when first deployed.

Additional context

Current workaround until added to runner image:

    containers:
      - name: runner
        image: ghcr.io/actions/actions-runner:latest
        command: ["/bin/bash","-c","sudo apt-get update && sudo apt-get install curl unzip jq wget python3-pip git-all -y && /home/runner/run.sh"]
jozef-valko commented 6 months ago

We have similar issue, yesterday we've upgraded our runners to Ubuntu 22.04 and it's missing wget. It was present in Ubuntu 20.04.

gfrid commented 6 months ago

@jozef-valko when i installed (moved from old) the ARC runners all my CI failed because the image was empty, even git was not installed, and worse that there is no documentation that the arc images are totally empty.

nikola-jokic commented 6 months ago

Hey everyone,

The decision behind our slim image was to:

I'm closing this enhancement since it is not related to ARC. It relates to the runner. There is an open PR adding utilities, but I don't know if it will be accepted.