Commit 3879e2fb authored by Laurent Wouters's avatar Laurent Wouters
Browse files

[releng] Build the environment as required

parent 8d43d90da58e
......@@ -9,6 +9,13 @@ HASH=$(hg -R "$ROOT" --debug id -i)
# Cleanup
hg -R "$ROOT" purge --all
BUILDER=$(docker images | grep -o -E '^logilab/ld-build-env(\s)+latest' | wc -l)
if [ "$BUILDER" -lt "1" ]; then
echo "=> Build environment must be created"
# Execute the build
docker run -it --rm --user=$(id -u) --group-add=$(id -g) -v "$ROOT:/src" -e "HOME=/npm" "logilab/ld-build-env:latest" /src/.releng/
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment