build_sdk_container_image: force removal of running container

At least with Podman it's not possible to call "container rm" on a
running container without the force flag.
Add the force flag which is also used elsewhere already.
This commit is contained in:
Kai Lueke 2022-01-06 21:28:30 +01:00
parent 1928852af0
commit 98b46e042a

View File

@ -178,7 +178,7 @@ else
rm "${tarball_copied}"
fi
$docker container rm "${toolchains_container}"
$docker container rm -f "${toolchains_container}"
docker_interface="docker0"
if "${is_podman}"; then