[pygobject] docker script: make them work with active selinux (fedora)



commit a80873e2a041f6e060c82467e96a1f3dee6eb4f4
Author: Christoph Reiter <reiter christoph gmail com>
Date:   Fri Apr 20 20:31:29 2018 +0200

    docker script: make them work with active selinux (fedora)

 .gitlab-ci/run-docker-old.sh | 2 +-
 .gitlab-ci/run-docker.sh     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci/run-docker-old.sh b/.gitlab-ci/run-docker-old.sh
index 7b916958..4dd17520 100755
--- a/.gitlab-ci/run-docker-old.sh
+++ b/.gitlab-ci/run-docker-old.sh
@@ -6,6 +6,6 @@ TAG="registry.gitlab.gnome.org/gnome/pygobject/old:v2"
 
 sudo docker build --build-arg HOST_USER_ID="$UID" --tag "${TAG}" \
     --file "Dockerfile.old" .
-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
diff --git a/.gitlab-ci/run-docker.sh b/.gitlab-ci/run-docker.sh
index 23f9fee3..818f3628 100755
--- a/.gitlab-ci/run-docker.sh
+++ b/.gitlab-ci/run-docker.sh
@@ -6,6 +6,6 @@ TAG="registry.gitlab.gnome.org/gnome/pygobject/main:v4"
 
 sudo docker build --build-arg HOST_USER_ID="$UID" --tag "${TAG}" \
     --file "Dockerfile" .
-sudo docker run -e PYENV_VERSION='3.6.5' --rm \
+sudo docker run -e PYENV_VERSION='3.6.5' --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]