Skip to content

Commit

Permalink
Merge pull request quarkusio#41676 from geoand/quarkusio#41659
Browse files Browse the repository at this point in the history
Don't always set the user parameter when starting container in tests
  • Loading branch information
gsmet authored Jul 9, 2024
2 parents ffe5afe + a0c7c69 commit fc86940
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,9 @@ public void start() throws IOException {
args.add("-i"); // Interactive, write logs to stdout
args.add("--rm");

args.addAll(NativeImageBuildLocalContainerRunner.getVolumeAccessArguments(containerRuntime));
if (!volumeMounts.isEmpty()) {
args.addAll(NativeImageBuildLocalContainerRunner.getVolumeAccessArguments(containerRuntime));
}

args.add("-p");
args.add(httpPort + ":" + httpPort);
Expand Down

0 comments on commit fc86940

Please sign in to comment.