summaryrefslogtreecommitdiff
path: root/.gitlab-ci
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2018-04-20 20:31:29 +0200
committerChristoph Reiter <reiter.christoph@gmail.com>2018-04-20 20:32:03 +0200
commita80873e2a041f6e060c82467e96a1f3dee6eb4f4 (patch)
treec7e6379f9c1f704afbe4ae9d997fc58208a0befd /.gitlab-ci
parent6c815ebdc28921f53050e479915cfe2c40379f8d (diff)
downloadpygobject-a80873e2a041f6e060c82467e96a1f3dee6eb4f4.tar.gz
docker script: make them work with active selinux (fedora)
Diffstat (limited to '.gitlab-ci')
-rwxr-xr-x.gitlab-ci/run-docker-old.sh2
-rwxr-xr-x.gitlab-ci/run-docker.sh2
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