summaryrefslogtreecommitdiff
path: root/.gitlab-ci/run-docker-runtime.sh
blob: d70cba3c8ecff44929d9a4cd5e74e13dda988a05 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

set -e

TAG="registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master"

sudo docker pull "${TAG}"
sudo docker run --privileged --rm --security-opt label=disable \
    --volume "$(pwd)/..:/home/user/app" --workdir "/home/user/app" \
    --tty --interactive "${TAG}" xvfb-run -a flatpak run --filesystem=host \
    --share=network --socket=x11 --devel --command=bash org.gnome.Sdk//master