Skip to content

Conversation

@twz123
Copy link
Member

@twz123 twz123 commented Aug 15, 2025

This is a modified version of the official ARC Runner image based on commit 0e006bb. The following modifications were made:

  • Can be built for ARMv7.
  • Uses dumb-init from the APT repositories, so that it can be installed on 32-bit ARM.
  • Add build-essentials to obtain a standard build environment. This includes make and enables CGO usage.
  • Install openssh-client to include the ssh-keygen executable.
  • Setting the environment variable DISABLE_RUNNER_DEFAULT_LABELS allows for skipping the addition of default labels by the runner.

twz123 added 2 commits August 15, 2025 11:24
ubuntu22-04-0 -> v2.328.0-ubuntu-24.04-0

Signed-off-by: Tom Wieczorek <[email protected]>
Additionally to the upstream changes, we now use dumb-init from the APT
repositories, which is sufficient and easier than the manual install.

See: https://github.com/actions/actions-runner-controller/tree/0e006bb0ff9094e54522cdf89c9bd5ab1806c4af/runner
Signed-off-by: Tom Wieczorek <[email protected]>
@twz123 twz123 marked this pull request as ready for review August 15, 2025 11:24
@twz123 twz123 marked this pull request as draft August 15, 2025 15:43
@twz123
Copy link
Member Author

twz123 commented Aug 15, 2025

The actions-runner has connection errors on 32-bit arm. Hard to debug, as the error message is not helpful at all, and I didn't find a way to increase the log level.

@twz123
Copy link
Member Author

twz123 commented Aug 19, 2025

OMG, this was really an unpleasant rabbit hole to fall into: Apparently, on 32-bit ARM, .NET8 has nasty ABI issues on Ubuntu 24.04, as it assumes certain things being 32-bit (i.e. time_t), whereas Ubuntu 24.04 (and other distros, too) have switched to 64-bits for those structs 🙄 dotnet/runtime#101444

TL;DR: Use .NET 9 on those distros, or stick to OSes that still use 32-bit integers in their structs (like Ubuntu 22.04).

@twz123 twz123 closed this Aug 19, 2025
@twz123
Copy link
Member Author

twz123 commented Aug 19, 2025

Added an Ubuntu 22.04 based image in #194.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants