aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdabuild.in11
1 files changed, 7 insertions, 4 deletions
diff --git a/dabuild.in b/dabuild.in
index 9c83102..dd0f154 100755
--- a/dabuild.in
+++ b/dabuild.in
@@ -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 "$@"