Skip to content

Conversation

@kryksyh
Copy link
Member

@kryksyh kryksyh commented May 22, 2025

Most of the linux related logic was moved to setup_linux.sh to ease the handling of different kinds of runners.

Tested on Ubuntu 20, 22, 24.

@kryksyh kryksyh requested a review from embarc-gabriel May 22, 2025 11:59
@kryksyh kryksyh self-assigned this May 22, 2025
gnome-themes-extra
)

if [ "$(id -u)" -eq 0 ]; then

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we have this section of the code?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is trash, obviously, but that's what I came up with.
This way we detect if the script is running in docker, and for a docker container we need few extra steps, namely disable tz questions during installation, and install sudo, to make the rest of the code work regardless of the runner.

@kryksyh kryksyh merged commit 0185f9a into main May 22, 2025
@kryksyh kryksyh deleted the linux-docker-builds branch May 22, 2025 13:46
@kryksyh kryksyh restored the linux-docker-builds branch May 22, 2025 13:46
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.

3 participants