[gtk] run-docker.sh: Disable SELinux for the container and update the image tag



commit 5838ac3d1d50cdd2007f1249e960061032c5a218
Author: Christoph Reiter <creiter src gnome org>
Date:   Tue Mar 13 21:08:56 2018 +0100

    run-docker.sh: Disable SELinux for the container and update the image tag
    
    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 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci/run-docker.sh b/.gitlab-ci/run-docker.sh
index af8af9030a..85c012d30a 100755
--- a/.gitlab-ci/run-docker.sh
+++ b/.gitlab-ci/run-docker.sh
@@ -2,10 +2,10 @@
 
 set -e
 
-TAG="lazka/gitlab-gtk:v1"
+TAG="ebassi/gitlab-gtk:latest"
 
 sudo docker build --build-arg HOST_USER_ID="$UID" --tag "${TAG}" \
     --file "Dockerfile" .
-sudo docker run --rm \
+sudo docker run --rm --security-opt label=disable \
     --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]