Skip to content

Conversation

@brndd
Copy link

@brndd brndd commented Aug 24, 2024

Adds --disable-labeling to configure.sh. Passing this option passes --security-opt label=disable to the container arguments, which disables SELinux labeling. This is something of a nuclear option compared to :z or :Z for volume binds, but far simpler and basically guaranteed to work, and for a build container the security implications hardly matter.

The existing --relabel-volumes option which passes :Z (capital) is a little bit not-nice because it relabels the files on the host (:z, lowercase, only relabels them in the container).

Adds --disable-labeling to configure.sh. Passing this option
passes --security-opt label=disable to the container, which
disables SELinux labeling.
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.

1 participant