gtk2/.gitlab-ci/run-docker.sh
2018-02-14 22:47:44 +01:00

10 lines
252 B
Bash
Executable File

#!/bin/bash
set -e
sudo docker build --build-arg HOST_USER_ID="$UID" --tag "gitlab-gtk" \
--file "Dockerfile" .
sudo docker run --rm \
--volume "$(pwd)/..:/home/user/app" --workdir "/home/user/app" \
--tty --interactive "gitlab-gtk" bash