mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-14 13:26:16 +01:00
521eba94b9
Note that this intentionally does not use glibc-all-langpacks package since its contents is currently incomplete. https://bugzilla.redhat.com/show_bug.cgi?id=1624528
19 lines
414 B
Bash
Executable File
19 lines
414 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
TAG="registry.gitlab.gnome.org/gnome/glib/master:v11"
|
|
|
|
cd "$(dirname "$0")"
|
|
docker build --build-arg HOST_USER_ID="$UID" --tag "${TAG}" \
|
|
--file "Dockerfile" .
|
|
|
|
if [ "$1" = "--push" ]; then
|
|
docker login registry.gitlab.gnome.org
|
|
docker push $TAG
|
|
else
|
|
docker run --rm \
|
|
--volume "$(pwd)/..:/home/user/app" --workdir "/home/user/app" \
|
|
--tty --interactive "${TAG}" bash
|
|
fi
|