1
0
mirror of https://gitlab.gnome.org/GNOME/glib.git synced 2025-01-19 02:36:15 +01:00
glib/.gitlab-ci/run-docker.sh

12 lines
298 B
Bash
Raw Normal View History

#!/bin/bash
set -e
TAG="registry.gitlab.gnome.org/gnome/glib/master:v1"
sudo docker build --build-arg HOST_USER_ID="$UID" --tag "${TAG}" \
--file "Dockerfile" .
sudo docker run --rm \
--volume "$(pwd)/..:/home/user/app" --workdir "/home/user/app" \
--tty --interactive "${TAG}" bash