mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-23 20:37:12 +01:00
deployment/docker/Makefile: build CGO-enabled vmagent for GOARCH=arm64
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/2271 This is a follow-up for 565497fb074321caedea38d5151044d98d92d759
This commit is contained in:
parent
f3c7302772
commit
4ea27d6f6a
@ -105,13 +105,9 @@ app-via-docker-linux-arm:
|
|||||||
CGO_ENABLED=0 GOOS=linux GOARCH=arm $(MAKE) app-via-docker-goos-goarch
|
CGO_ENABLED=0 GOOS=linux GOARCH=arm $(MAKE) app-via-docker-goos-goarch
|
||||||
|
|
||||||
app-via-docker-linux-arm64:
|
app-via-docker-linux-arm64:
|
||||||
ifeq ($(APP_NAME),vmagent)
|
|
||||||
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 $(MAKE) app-via-docker-goos-goarch
|
|
||||||
else
|
|
||||||
APP_SUFFIX='-linux-arm64' \
|
APP_SUFFIX='-linux-arm64' \
|
||||||
DOCKER_OPTS='--env CGO_ENABLED=1 --env GOOS=linux --env GOARCH=arm64 --env CC=/opt/cross-builder/aarch64-linux-musl-cross/bin/aarch64-linux-musl-gcc' \
|
DOCKER_OPTS='--env CGO_ENABLED=1 --env GOOS=linux --env GOARCH=arm64 --env CC=/opt/cross-builder/aarch64-linux-musl-cross/bin/aarch64-linux-musl-gcc' \
|
||||||
$(MAKE) app-via-docker
|
$(MAKE) app-via-docker
|
||||||
endif
|
|
||||||
|
|
||||||
app-via-docker-linux-ppc64le:
|
app-via-docker-linux-ppc64le:
|
||||||
CGO_ENABLED=0 GOOS=linux GOARCH=ppc64le $(MAKE) app-via-docker-goos-goarch
|
CGO_ENABLED=0 GOOS=linux GOARCH=ppc64le $(MAKE) app-via-docker-goos-goarch
|
||||||
|
Loading…
Reference in New Issue
Block a user