2018-02-13 16:21:18 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2018-04-17 17:09:16 +00:00
|
|
|
TAG="registry.gitlab.gnome.org/gnome/gtk/master:v1"
|
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
|