Commit 1b1db4c2 authored by Markus Frosch's avatar Markus Frosch 📣
Browse files

make-image: Don't require TTY

parent 9d33db8f
Pipeline #2338 failed with stage
in 14 seconds
......@@ -9,7 +9,12 @@ if [ -n "$DOCKER_REGISTRY" ]; then
IMAGE="${DOCKER_REGISTRY}/${IMAGE}"
fi
docker run -it --rm \
opts=
if [ -t 1 ] && [ -t 0 ]; then
opts=-t
fi
docker run -i $opts --rm \
--privileged \
-e "TARBALL=$TARBALL" \
-v "$(pwd):/work" -w "/work" \
......
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