Skip to content
Snippets Groups Projects
Commit 1b1db4c2 authored by Markus Frosch's avatar Markus Frosch
Browse files

make-image: Don't require TTY

parent 9d33db8f
No related branches found
No related tags found
1 merge request!2Implement CI
Pipeline #2338 failed
......@@ -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" \
......
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