2018-02-13 16:21:18 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2019-03-28 21:47:18 +00:00
|
|
|
TAG="registry.gitlab.gnome.org/gnome/gtk/master:v3"
|
2018-02-17 10:55:40 +00:00
|
|
|
|
|
|
|
sudo docker build --build-arg HOST_USER_ID="$UID" --tag "${TAG}" \
|
2018-02-13 16:21:18 +00:00
|
|
|
--file "Dockerfile" .
|
2018-03-13 20:08:56 +00:00
|
|
|
sudo docker run --rm --security-opt label=disable \
|
2018-02-13 16:21:18 +00:00
|
|
|
--volume "$(pwd)/..:/home/user/app" --workdir "/home/user/app" \
|
2018-02-17 10:55:40 +00:00
|
|
|
--tty --interactive "${TAG}" bash
|