Pass in docker command opts as a map

This commit is contained in:
sophia 2021-07-08 12:15:06 -05:00
parent 4e6c17062f
commit 04977677f1

View File

@ -23,7 +23,7 @@ module VagrantPlugins
args = Array(opts[:extra_args])
args << dir
opts = {with_stderr: true}
result = execute('docker', 'build', *args, opts, &block)
result = execute('docker', 'build', *args, **opts, &block)
# Check for the new output format 'writing image sha256...'
# In this case, docker buildkit is enabled. Its format is different
# from standard docker