Skip to content

Commit

Permalink
Fixup quarkusio#41085 Docker-build fails to detect podman: add back
Browse files Browse the repository at this point in the history
detectContainerRuntime() method for backwards compatibility
  • Loading branch information
ppalaga authored and danielsoro committed Sep 20, 2024
1 parent 342bd4f commit d54028f
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ private ContainerRuntimeUtil() {
* @return a fully resolved {@link ContainerRuntime} indicating if Docker or Podman is available and in rootless mode or not
* @throws IllegalStateException if no container runtime was found to build the image
*/
public static ContainerRuntime detectContainerRuntime() {
return detectContainerRuntime(true);
}

public static ContainerRuntime detectContainerRuntime(ContainerRuntime... orderToCheckRuntimes) {
return detectContainerRuntime(true, orderToCheckRuntimes);
}
Expand Down

0 comments on commit d54028f

Please sign in to comment.