Use 'release-linux-docker-<arch>' make target in multiarch Dockerfile

This commit is contained in:
Ralf Haferkamp
2025-02-26 12:48:07 +01:00
parent 1cc94879c2
commit 71c03e8ae6
2 changed files with 4 additions and 8 deletions
-6
View File
@@ -42,12 +42,6 @@ DEBUG_LDFLAGS += -X google.golang.org/protobuf/reflect/protoregistry.conflictPol
DOCKER_LDFLAGS += -X "$(OC_REPO)/pkg/config/defaults.BaseDataPathType=path" -X "$(OC_REPO)/pkg/config/defaults.BaseDataPathValue=/var/lib/opencloud"
DOCKER_LDFLAGS += -X "$(OC_REPO)/pkg/config/defaults.BaseConfigPathType=path" -X "$(OC_REPO)/pkg/config/defaults.BaseConfigPathValue=/etc/opencloud"
# We can't link statically when vips is enabled but we still
# prefer static linking where possible
ifndef ENABLE_VIPS
DOCKER_LDFLAGS += -extldflags "-static"
endif
GCFLAGS += all=-N -l
.PHONY: all