mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-09 16:00:22 +00:00
build: change default to use podman
With '# make image-cephcsi GOARCH=amd64' On Fedora observed errors like: ---> Running in 3e2dbf48ebc6 OCI runtime create failed: this version of runc doesn't work on cgroups v2: unknown make: *** [Makefile:175: image-cephcsi] Error 1 hence it is recommended to switch to podman if available. Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
This commit is contained in:
parent
52243d0140
commit
e9d5e731dc
4
Makefile
4
Makefile
@ -14,9 +14,9 @@
|
||||
|
||||
.PHONY: all cephcsi check-env
|
||||
|
||||
CONTAINER_CMD?=$(shell docker version >/dev/null 2>&1 && echo docker)
|
||||
CONTAINER_CMD?=$(shell podman version >/dev/null 2>&1 && echo podman)
|
||||
ifeq ($(CONTAINER_CMD),)
|
||||
CONTAINER_CMD=$(shell podman version >/dev/null 2>&1 && echo podman)
|
||||
CONTAINER_CMD=$(shell docker version >/dev/null 2>&1 && echo docker)
|
||||
endif
|
||||
CPUS?=$(shell nproc --ignore=1)
|
||||
CPUSET?=--cpuset-cpus=0-${CPUS}
|
||||
|
Loading…
Reference in New Issue
Block a user