Skip to content

Conversation

Link-
Copy link
Member

@Link- Link- commented Jun 8, 2023

Context

Fixes https://github.com/github/c2c-actions-runtime/issues/2460

This PR changes the base image to Ubuntu 22.04 instead of Debian. Numerous actions such as: actions/setup-python and ruby/setup-ruby are only compatible with Ubuntu.

This change also introduces lsb_release which is used by actions/setup-python to identify the underlying distribution. The introduction of this dependency was unavoidable, actions/setup-python depends on this script to identify the distribution version that maps to the appropriate python binary. There is room for improvement but for now we want to move forward and unblock end users depending on this first party action.

Testing

This change was tested with actions/setup-python and ruby/setup-ruby. Any additional changes (missing permissions, directories, etc.) to the runner image will need to be made by the end users. (example: https://github.com/ruby/setup-ruby#using-self-hosted-runners)

@Link- Link- requested a review from a team as a code owner June 8, 2023 13:50
@Link- Link- self-assigned this Jun 8, 2023
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