Commit 8d734662 authored by Richard Mortier's avatar Richard Mortier
Browse files

dabuild: unabstractify `docker` invocation


Signed-off-by: Richard Mortier's avatarRichard Mortier <mort@cantab.net>
parent eed1a4d6
......@@ -87,7 +87,10 @@ if [ "$DABUILD_CACHE" = "true" ]; then
fi
## go!
ABUILD_WORKDIR=/home/builder/aports/${PWD#*/aports/}
DOCKER="docker run -ti $ABUILD_VOLUMES -e DABUILD_DEBUG $DABUILD_ARGS"
$DOCKER --workdir $ABUILD_WORKDIR \
%%ABUILD_IMAGE%%:$ABUILD_VERSION-$DABUILD_ARCH "$@"
docker run --tty --interactive \
$ABUILD_RM \
$ABUILD_VOLUMES \
-e DABUILD_DEBUG \
$DABUILD_ARGS \
--workdir /home/builder/aports/${PWD#*/aports/} \
%%ABUILD_IMAGE%%:$ABUILD_VERSION-$DABUILD_ARCH "$@"
Supports Markdown
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