1
0
mirror of https://github.com/stucki/docker-lineageos synced 2024-12-19 17:12:29 -05:00

stop "docker rm" spitting lineageos out

This commit is contained in:
Benedikt Heine 2017-06-06 11:27:31 +02:00
parent 919db8dcee
commit cd99304c1d

2
run.sh
View File

@ -53,7 +53,7 @@ elif [[ $FORCE_BUILD = 1 ]] || ! echo "$IMAGE_EXISTS" | grep -q "$TAG"; then
# After successful build, delete existing containers
IS_EXISTING=$(docker inspect -f '{{.Id}}' $CONTAINER 2>/dev/null) || true
if [[ -n $IS_EXISTING ]]; then
docker rm $CONTAINER
docker rm $CONTAINER >/dev/null
fi
fi