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:
parent
919db8dcee
commit
cd99304c1d
2
run.sh
2
run.sh
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user