mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-13 22:05:59 +00:00
Fix make etcd image failed
Signed-off-by: kkkkun <scuzk373x@gmail.com>
This commit is contained in:
parent
f418411d0f
commit
aab02d52f4
@ -180,9 +180,9 @@ else
|
|||||||
|
|
||||||
# Add this ENV variable in order to workaround an unsupported arch blocker
|
# Add this ENV variable in order to workaround an unsupported arch blocker
|
||||||
# On arm (which is 32-bit), it can't handle >1GB data in-memory
|
# On arm (which is 32-bit), it can't handle >1GB data in-memory
|
||||||
ifeq ($(ARCH),arm)
|
ifeq ($(ARCH),arm)
|
||||||
cd $(TEMP_DIR) && echo "ENV ETCD_UNSUPPORTED_ARCH=$(ARCH)" >> $(DOCKERFILE)
|
cd $(TEMP_DIR) && echo "ENV ETCD_UNSUPPORTED_ARCH=$(ARCH)" >> $(DOCKERFILE)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
docker run --rm --privileged multiarch/qemu-user-static:$(QEMUVERSION) --reset -p yes
|
docker run --rm --privileged multiarch/qemu-user-static:$(QEMUVERSION) --reset -p yes
|
||||||
|
Loading…
Reference in New Issue
Block a user