feat(docker): error when HTTP requests fail

This commit is contained in:
Jef Roosens 2022-05-13 22:15:30 +02:00
parent 4c97489f8a
commit da46b8b4ae
Signed by untrusted user: Jef Roosens
GPG key ID: B75D4F293C7052DB
4 changed files with 51 additions and 7 deletions

View file

@ -56,6 +56,7 @@ pub fn create_build_image(base_image string) ?string {
// This loop waits until the container has stopped, so we can remove it after
for {
println('wot')
data := dd.inspect_container(id)?
if !data.state.running {