Some tweaks to docker output

- reduce verbosity
- make all 'fake commands' print in the same way
This commit is contained in:
Kris De Volder
2020-10-19 10:25:31 -07:00
parent 52755d6ba1
commit 089591266b

View File

@@ -259,7 +259,6 @@ public class DockerApp extends AbstractDisposable implements App, ChildBearing,
refreshTracker.run("Starting container '" + image + "'" + + BootDashLabels.ELLIPSIS, () -> {
run(console, image, deployment);
console.write("DONE Deploying Docker app " + getName(), LogType.STDOUT);
});
}
@@ -409,7 +408,7 @@ public class DockerApp extends AbstractDisposable implements App, ChildBearing,
builder.environment().put("JAVA_HOME", jhome);
console.write("build.env.JAVA_HOME="+jhome, LogType.STDOUT);
console.write("build.directory="+directory, LogType.STDOUT);
console.write("build.command="+CommandUtil.escape(command), LogType.STDOUT);
console.logCommand(CommandUtil.escape(command));
Process process = builder.start();
LineBasedStreamGobler outputGobler = new LineBasedStreamGobler(process.getInputStream(), (line) -> {
System.out.println(line);