We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8e181a commit f3c4028Copy full SHA for f3c4028
Makefile
@@ -16,6 +16,9 @@ else
16
WHERE_WHICH ?= which
17
endif
18
19
+# linux/amd64 or darwin/arm64
20
+OS_ARCH=$(shell go env GOOS)/$(shell go env GOARCH)
21
+
22
IMAGE_TAG ?= $(RELEASE)_$(DATE)
23
KUBECTL_BIN ?= bin/kubectl
24
KUBECTL_VERSION ?= v1.23.11
@@ -404,7 +407,7 @@ rocm-runtime-tensorflow-ubi9-python-3.11: rocm-ubi9-python-3.11
404
407
bin/kubectl:
405
408
ifeq (,$(wildcard $(KUBECTL_BIN)))
406
409
@mkdir -p bin
- @curl -sSL https://dl.k8s.io/release/$(KUBECTL_VERSION)/bin/linux/amd64/kubectl > \
410
+ @curl -sSL https://dl.k8s.io/release/$(KUBECTL_VERSION)/bin/$(OS_ARCH)/kubectl > \
411
$(KUBECTL_BIN)
412
@chmod +x $(KUBECTL_BIN)
413
0 commit comments