mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 21:21:21 +00:00
run-docker.sh: Disable SELinux for the container and update the image tag
On Fedora and similar SELinux by default prevents containers accessing mounted host directories. This script is just used for testing, so disable it.
This commit is contained in:
parent
27abc9fefe
commit
5838ac3d1d
@ -2,10 +2,10 @@
|
||||
|
||||
set -e
|
||||
|
||||
TAG="lazka/gitlab-gtk:v1"
|
||||
TAG="ebassi/gitlab-gtk:latest"
|
||||
|
||||
sudo docker build --build-arg HOST_USER_ID="$UID" --tag "${TAG}" \
|
||||
--file "Dockerfile" .
|
||||
sudo docker run --rm \
|
||||
sudo docker run --rm --security-opt label=disable \
|
||||
--volume "$(pwd)/..:/home/user/app" --workdir "/home/user/app" \
|
||||
--tty --interactive "${TAG}" bash
|
||||
|
Loading…
Reference in New Issue
Block a user