gtk2/.gitlab-ci/run-docker.sh
Emmanuele Bassi 51e155bffa ci: Deploy the API reference on our GitLab pages
Now that we can build gtk-doc as a sub-project, we can go back to
publishing the API reference for the master branch every time we
build it.
2020-01-29 09:46:13 +01:00

12 lines
327 B
Bash
Executable File

#!/bin/bash
set -e
TAG="registry.gitlab.gnome.org/gnome/gtk/master:v10"
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