Skip to content

cluster-provision/gocli Makefile uses hard-coded docker cmd #1480

@orelmisan

Description

@orelmisan

What happened:
When trying to build the gocli image on a system using podman as a container engine, the following command fails:

$ cd cluster-provision/gocli && make container
CGO_ENABLED=0 GOOS=linux GOARCH=$(uname -m | grep -q s390x && echo s390x || echo amd64) go build -ldflags "-X 'kubevirt.io/kubevirtci/cluster-provision/gocli/images.SUFFIX=:'" -o kubevirtci/cluster-provision/gocli/build/cli ./cmd/cli
docker build -t quay.io/kubevirtci/gocli build/
/bin/bash: line 1: docker: command not found
make: *** [Makefile:35: container] Error 127

What you expected to happen:
A clear and concise description of what you expected to happen.

How to reproduce it (as minimally and precisely as possible):
Steps to reproduce the behavior.

Additional context:
Add any other context about the problem here.

Environment:

  • KubeVirt version (use virtctl version): N/A
  • Kubernetes version (use kubectl version): N/A
  • VM or VMI specifications: N/A
  • Cloud provider or hardware configuration: N/A
  • OS (e.g. from /etc/os-release): Fedora 42
  • Kernel (e.g. uname -a): 6.15.3-200
  • Install tools: N/A
  • Others: N/A

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions