diff options
Diffstat (limited to '.gitlab-ci/run-docker-old.sh')
-rwxr-xr-x | .gitlab-ci/run-docker-old.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.gitlab-ci/run-docker-old.sh b/.gitlab-ci/run-docker-old.sh new file mode 100755 index 0000000..3663cfe --- /dev/null +++ b/.gitlab-ci/run-docker-old.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +set -e + +TAG="registry.gitlab.gnome.org/gnome/pygobject/old:v6" + +sudo docker build --build-arg HOST_USER_ID="$UID" --tag "${TAG}" \ + --file "Dockerfile.old" . +sudo docker run --rm --security-opt label=disable \ + --volume "$(pwd)/..:/home/user/app" --workdir "/home/user/app" \ + --tty --interactive "${TAG}" bash |