From 4fc8b07974ed5bc1154ca18f430627846ea828b3 Mon Sep 17 00:00:00 2001 From: Juha Ruotsalainen Date: Mon, 18 Nov 2019 08:53:33 +0200 Subject: [PATCH] Removed the word 'done'. There are cases, when 'done' is prefix with a duration, like `... 0.1s done`. --- plugins/providers/docker/driver.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/providers/docker/driver.rb b/plugins/providers/docker/driver.rb index 959be42ed..6dfd7a438 100644 --- a/plugins/providers/docker/driver.rb +++ b/plugins/providers/docker/driver.rb @@ -22,7 +22,7 @@ module VagrantPlugins matches = result.scan(/Successfully built (.+)$/i) if matches.empty? # Check for the new output format 'writing image sha256...' - matches = result.scan(/writing image sha256:([0-9a-z]+) done$/i) + matches = result.scan(/writing image sha256:([0-9a-z]+) +$/i) if matches.empty? # This will cause a stack trace in Vagrant, but it is a bug # if this happens anyways.