mirror of
https://github.com/jlengrand/quarkus.git
synced 2026-03-10 08:41:22 +00:00
ProcessBuilder for determining UID and GID in linux docker build was redirecting the wrong stream to /dev/null
This commit is contained in:
committed by
Guillaume Smet
parent
56b2492be3
commit
de892064e1
@@ -524,7 +524,7 @@ public class NativeImagePhase implements AppCreationPhase<NativeImagePhase>, Nat
|
||||
|
||||
ProcessBuilder idPB = new ProcessBuilder().command("id", option);
|
||||
idPB.redirectError(new File("/dev/null"));
|
||||
idPB.redirectOutput(new File("/dev/null"));
|
||||
idPB.redirectInput(new File("/dev/null"));
|
||||
|
||||
process = idPB.start();
|
||||
try (InputStream inputStream = process.getInputStream()) {
|
||||
|
||||
Reference in New Issue
Block a user