Skip to content
Snippets Groups Projects
Commit 6885d2a5 authored by Gaël Bonithon's avatar Gaël Bonithon
Browse files

xfce-do-release: Check for `docker` installed

parent 4ffc172c
No related branches found
No related tags found
1 merge request!48xfce-do-release: Check for `docker` installed
Pipeline #7126 passed
......@@ -28,10 +28,12 @@ sanity_checks () {
git status --untracked-files=no -s
read -n 1 -s -p "Do you really want to continue?"
fi
if which xfce-build >/dev/null; then
if ! which docker &>/dev/null; then
echo "INFO: please install docker to support building in a clean environment."
elif which xfce-build &>/dev/null; then
export TAG="xfce-build"
echo "Working with the 'xfce-build' script and container."
elif ! which xfce-test >/dev/null; then
elif ! which xfce-test &>/dev/null; then
echo "INFO: please install xfce-test to support building in a clean environment. See https://github.com/schuellerf/xfce-test"
else
images=$(docker images|grep -Po "(?<=^schuellerf/xfce-test) +[^ ]+"|tr -d ' ')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment