Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
utils/docker-run: make it compatible with SELinux
After switching to a fresh Fedora 38 installation with SELinux disabled, we noticed that utils/docker-run doesn't work as the applications running inside the container are not allowed to accept the data mounted through the bind mount. Since we do not really need to isolate and confine the build, but rather to provide a known environment, we don;t really need to enforce any SELinux confinment in the container. So, we tell docker to turn off label confinement for the container: https://manpages.org/docker-run --security-opt=[] Security Options [...] "label=disable" : Turn off label confinement for the container Suggested-by: Antoine Tenart <[email protected]> Signed-off-by: Thomas Petazzoni <[email protected]> [[email protected]: use Antoine's proposal] Signed-off-by: Yann E. MORIN <[email protected]>
- Loading branch information