Makefile: include arm64 (instead of arm) executables in arm64v8 images
Change-Id: Ic9cd5cd7b052efcb75499c338dd60480f960c4fa
This commit is contained in:
parent
c6c2a1daf9
commit
10d7a63ab0
8
Makefile
8
Makefile
@ -195,7 +195,7 @@ satellite-image: satellite_linux_arm satellite_linux_arm64 satellite_linux_amd64
|
|||||||
--build-arg=GOARCH=arm --build-arg=DOCKER_ARCH=arm32v6 \
|
--build-arg=GOARCH=arm --build-arg=DOCKER_ARCH=arm32v6 \
|
||||||
-f cmd/satellite/Dockerfile .
|
-f cmd/satellite/Dockerfile .
|
||||||
${DOCKER_BUILD} --pull=true -t storjlabs/satellite:${TAG}${CUSTOMTAG}-arm64v8 \
|
${DOCKER_BUILD} --pull=true -t storjlabs/satellite:${TAG}${CUSTOMTAG}-arm64v8 \
|
||||||
--build-arg=GOARCH=arm --build-arg=DOCKER_ARCH=arm64v8 \
|
--build-arg=GOARCH=arm64 --build-arg=DOCKER_ARCH=arm64v8 \
|
||||||
-f cmd/satellite/Dockerfile .
|
-f cmd/satellite/Dockerfile .
|
||||||
|
|
||||||
.PHONY: storagenode-image
|
.PHONY: storagenode-image
|
||||||
@ -206,7 +206,7 @@ storagenode-image: storagenode_linux_arm storagenode_linux_arm64 storagenode_lin
|
|||||||
--build-arg=GOARCH=arm --build-arg=DOCKER_ARCH=arm32v6 \
|
--build-arg=GOARCH=arm --build-arg=DOCKER_ARCH=arm32v6 \
|
||||||
-f cmd/storagenode/Dockerfile .
|
-f cmd/storagenode/Dockerfile .
|
||||||
${DOCKER_BUILD} --pull=true -t storjlabs/storagenode:${TAG}${CUSTOMTAG}-arm64v8 \
|
${DOCKER_BUILD} --pull=true -t storjlabs/storagenode:${TAG}${CUSTOMTAG}-arm64v8 \
|
||||||
--build-arg=GOARCH=arm --build-arg=DOCKER_ARCH=arm64v8 \
|
--build-arg=GOARCH=arm64 --build-arg=DOCKER_ARCH=arm64v8 \
|
||||||
-f cmd/storagenode/Dockerfile .
|
-f cmd/storagenode/Dockerfile .
|
||||||
.PHONY: uplink-image
|
.PHONY: uplink-image
|
||||||
uplink-image: uplink_linux_arm uplink_linux_arm64 uplink_linux_amd64 ## Build uplink Docker image
|
uplink-image: uplink_linux_arm uplink_linux_arm64 uplink_linux_amd64 ## Build uplink Docker image
|
||||||
@ -216,7 +216,7 @@ uplink-image: uplink_linux_arm uplink_linux_arm64 uplink_linux_amd64 ## Build up
|
|||||||
--build-arg=GOARCH=arm --build-arg=DOCKER_ARCH=arm32v6 \
|
--build-arg=GOARCH=arm --build-arg=DOCKER_ARCH=arm32v6 \
|
||||||
-f cmd/uplink/Dockerfile .
|
-f cmd/uplink/Dockerfile .
|
||||||
${DOCKER_BUILD} --pull=true -t storjlabs/uplink:${TAG}${CUSTOMTAG}-arm64v8 \
|
${DOCKER_BUILD} --pull=true -t storjlabs/uplink:${TAG}${CUSTOMTAG}-arm64v8 \
|
||||||
--build-arg=GOARCH=arm --build-arg=DOCKER_ARCH=arm64v8 \
|
--build-arg=GOARCH=arm64 --build-arg=DOCKER_ARCH=arm64v8 \
|
||||||
-f cmd/uplink/Dockerfile .
|
-f cmd/uplink/Dockerfile .
|
||||||
.PHONY: versioncontrol-image
|
.PHONY: versioncontrol-image
|
||||||
versioncontrol-image: versioncontrol_linux_arm versioncontrol_linux_arm64 versioncontrol_linux_amd64 ## Build versioncontrol Docker image
|
versioncontrol-image: versioncontrol_linux_arm versioncontrol_linux_arm64 versioncontrol_linux_amd64 ## Build versioncontrol Docker image
|
||||||
@ -226,7 +226,7 @@ versioncontrol-image: versioncontrol_linux_arm versioncontrol_linux_arm64 versio
|
|||||||
--build-arg=GOARCH=arm --build-arg=DOCKER_ARCH=arm32v6 \
|
--build-arg=GOARCH=arm --build-arg=DOCKER_ARCH=arm32v6 \
|
||||||
-f cmd/versioncontrol/Dockerfile .
|
-f cmd/versioncontrol/Dockerfile .
|
||||||
${DOCKER_BUILD} --pull=true -t storjlabs/versioncontrol:${TAG}${CUSTOMTAG}-arm64v8 \
|
${DOCKER_BUILD} --pull=true -t storjlabs/versioncontrol:${TAG}${CUSTOMTAG}-arm64v8 \
|
||||||
--build-arg=GOARCH=arm --build-arg=DOCKER_ARCH=arm64v8 \
|
--build-arg=GOARCH=arm64 --build-arg=DOCKER_ARCH=arm64v8 \
|
||||||
-f cmd/versioncontrol/Dockerfile .
|
-f cmd/versioncontrol/Dockerfile .
|
||||||
|
|
||||||
.PHONY: binary
|
.PHONY: binary
|
||||||
|
Loading…
Reference in New Issue
Block a user