Enable support for running Docker container on Arch Linux and derivative hosts #353
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In Arch Linux and derivatives, the cdrom group does not exist. Access to interfacing with disc drives is done through the
optical
user group which has the GID990
. This PR creates such anoptical
user group in the container and adds thearm
user to that group.This enables support for running ARM on hosts which are running Arch Linux or derivatives, like Manjaro.
Adding the group has the remote potential to alter the security posture for running the container, only if it is running on a system where being a member of the group with the GID 990 maps to a group in the host system other than the
optical
group. However, this is a very low risk.Link to successful PR build run: https://github.com/Church13/arm-dependencies/actions/runs/12101157198/job/33740661866?pr=4