Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch from Debian to Ubuntu 22.04 #2651

Merged
merged 1 commit into from
Jun 13, 2023
Merged

Switch from Debian to Ubuntu 22.04 #2651

merged 1 commit into from
Jun 13, 2023

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