[gtk/gtk-3-22] run-docker.sh: Disable SELinux for the container



commit 600003e83f074f8c2644808d04c036075fdcc611
Author: Christoph Reiter <creiter src gnome org>
Date:   Tue Mar 13 21:19:30 2018 +0100

    run-docker.sh: Disable SELinux for the container
    
    On Fedora and similar SELinux by default prevents containers accessing
    mounted host directories. This script is just used for testing,
    so disable it.

 .gitlab-ci/run-docker.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/.gitlab-ci/run-docker.sh b/.gitlab-ci/run-docker.sh
index 699d2093da..4b2fc0ae75 100755
--- a/.gitlab-ci/run-docker.sh
+++ b/.gitlab-ci/run-docker.sh
@@ -14,6 +14,6 @@ TAG="lazka/gitlab-gtk-3-22:v1"
 # created in the mounted volume have the same owner
 sudo docker build \
     --build-arg HOST_USER_ID="$UID" --tag "${TAG}" --file "Dockerfile" .
-sudo docker run \
+sudo docker run --security-opt label=disable \
     --rm --volume "$(pwd)/..:/home/user/app" --workdir "/home/user/app" \
     --tty --interactive "${TAG}" bash


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]