mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-23 12:31:07 +01:00
deployment/docker/Makefile: group app-via-docker-* and package-via-docker-* rules with CGO_ENABLED=1 together for better maintainability
This commit is contained in:
parent
cb19335a9f
commit
bd75c0a898
@ -112,14 +112,14 @@ app-via-docker-linux-amd64:
|
|||||||
EXTRA_DOCKER_ENVS='CC=/opt/cross-builder/x86_64-linux-musl-cross/bin/x86_64-linux-musl-gcc' \
|
EXTRA_DOCKER_ENVS='CC=/opt/cross-builder/x86_64-linux-musl-cross/bin/x86_64-linux-musl-gcc' \
|
||||||
CGO_ENABLED=1 GOOS=linux GOARCH=amd64 $(MAKE) app-via-docker-goos-goarch
|
CGO_ENABLED=1 GOOS=linux GOARCH=amd64 $(MAKE) app-via-docker-goos-goarch
|
||||||
|
|
||||||
app-via-docker-linux-arm:
|
|
||||||
EXTRA_DOCKER_ENVS='GOARM=5' \
|
|
||||||
CGO_ENABLED=0 GOOS=linux GOARCH=arm $(MAKE) app-via-docker-goos-goarch
|
|
||||||
|
|
||||||
app-via-docker-linux-arm64:
|
app-via-docker-linux-arm64:
|
||||||
EXTRA_DOCKER_ENVS='CC=/opt/cross-builder/aarch64-linux-musl-cross/bin/aarch64-linux-musl-gcc' \
|
EXTRA_DOCKER_ENVS='CC=/opt/cross-builder/aarch64-linux-musl-cross/bin/aarch64-linux-musl-gcc' \
|
||||||
CGO_ENABLED=1 GOOS=linux GOARCH=arm64 $(MAKE) app-via-docker-goos-goarch
|
CGO_ENABLED=1 GOOS=linux GOARCH=arm64 $(MAKE) app-via-docker-goos-goarch
|
||||||
|
|
||||||
|
app-via-docker-linux-arm:
|
||||||
|
EXTRA_DOCKER_ENVS='GOARM=5' \
|
||||||
|
CGO_ENABLED=0 GOOS=linux GOARCH=arm $(MAKE) app-via-docker-goos-goarch
|
||||||
|
|
||||||
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
|
||||||
|
|
||||||
@ -155,14 +155,14 @@ package-via-docker-amd64:
|
|||||||
EXTRA_DOCKER_ENVS='CC=/opt/cross-builder/x86_64-linux-musl-cross/bin/x86_64-linux-musl-gcc' \
|
EXTRA_DOCKER_ENVS='CC=/opt/cross-builder/x86_64-linux-musl-cross/bin/x86_64-linux-musl-gcc' \
|
||||||
CO_ENABLED=1 GOARCH=amd64 $(MAKE) package-via-docker-goarch
|
CO_ENABLED=1 GOARCH=amd64 $(MAKE) package-via-docker-goarch
|
||||||
|
|
||||||
package-via-docker-arm:
|
|
||||||
EXTRA_DOCKER_ENVS='GOARM=5' \
|
|
||||||
CGO_ENABLED=0 GOARCH=arm $(MAKE) package-via-docker-goarch
|
|
||||||
|
|
||||||
package-via-docker-arm64:
|
package-via-docker-arm64:
|
||||||
EXTRA_DOCKER_ENVS='CC=/opt/cross-builder/aarch64-linux-musl-cross/bin/aarch64-linux-musl-gcc' \
|
EXTRA_DOCKER_ENVS='CC=/opt/cross-builder/aarch64-linux-musl-cross/bin/aarch64-linux-musl-gcc' \
|
||||||
CGO_ENABLED=1 GOARCH=arm64 $(MAKE) package-via-docker-goarch
|
CGO_ENABLED=1 GOARCH=arm64 $(MAKE) package-via-docker-goarch
|
||||||
|
|
||||||
|
package-via-docker-arm:
|
||||||
|
EXTRA_DOCKER_ENVS='GOARM=5' \
|
||||||
|
CGO_ENABLED=0 GOARCH=arm $(MAKE) package-via-docker-goarch
|
||||||
|
|
||||||
package-via-docker-ppc64le:
|
package-via-docker-ppc64le:
|
||||||
CGO_ENABLED=0 GOARCH=ppc64le $(MAKE) package-via-docker-goarch
|
CGO_ENABLED=0 GOARCH=ppc64le $(MAKE) package-via-docker-goarch
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user