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

set -e

TAG="registry.gitlab.gnome.org/gnome/gdk-pixbuf/master:v1"

sudo docker build --build-arg HOST_USER_ID="$UID" --tag "${TAG}" \
    --file "Dockerfile" .
sudo docker run --rm --security-opt label=disable \
    --volume "$(pwd)/../..:/home/user/app" --workdir "/home/user/app" \
    --tty --interactive "${TAG}" bash