mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-01-18 04:58:51 +02:00
Show Docker output when building containers if --log-level=detail.
This helps with debugging and monitoring container builds.
This commit is contained in:
parent
d8d4132118
commit
54b4187527
@ -131,9 +131,10 @@ sub containerWrite
|
||||
|
||||
# Write the image
|
||||
$oStorageDocker->put("${strTempPath}/${strImage}", trim($strScript) . "\n");
|
||||
executeTest('docker build' . (defined($bForce) && $bForce ? ' --no-cache' : '') .
|
||||
" -f ${strTempPath}/${strImage} -t ${strTag} ${strTempPath}",
|
||||
{bSuppressStdErr => true});
|
||||
executeTest(
|
||||
'docker build' . (defined($bForce) && $bForce ? ' --no-cache' : '') . " -f ${strTempPath}/${strImage} -t ${strTag} " .
|
||||
$oStorageDocker->pathGet('test'),
|
||||
{bSuppressStdErr => true, bShowOutputAsync => (logLevel())[1] eq DETAIL});
|
||||
}
|
||||
|
||||
####################################################################################################################################
|
||||
|
Loading…
x
Reference in New Issue
Block a user