diff --git a/Dockerfile b/Dockerfile index 97d45fd..54593c0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ RUN microdnf -y install git &&\ FROM quay.io/konveyor/static-report as static-report # Build the manager binary -FROM golang:1.18 as builder +FROM golang:1.19 as builder WORKDIR /workspace # Copy the Go Modules manifests diff --git a/cmd/settings.go b/cmd/settings.go index 703dee7..d79a027 100644 --- a/cmd/settings.go +++ b/cmd/settings.go @@ -1,6 +1,7 @@ package cmd import ( + "errors" "os" "os/exec" @@ -29,7 +30,7 @@ func (c *Config) Load() error { envValue := os.Getenv("PODMAN_BIN") if envValue == "" { podmanPath, err := exec.LookPath("podman") - if err != nil { + if err != nil && errors.Is(err, exec.ErrDot) { return err } if podmanPath != c.PodmanBinary && (podmanPath != "" || len(podmanPath) > 0) {