From 5c1c7b77cec9ea6f94a479c9a72aa5457a2031ac Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Wed, 6 May 2020 09:16:10 -0400 Subject: Add command to build podman-remote-static CRC Team wants a static podman-remote that it can install on any linux box. Signed-off-by: Daniel J Walsh --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 9121fae1f..6f342439a 100644 --- a/Makefile +++ b/Makefile @@ -187,6 +187,10 @@ endif .PHONY: podman podman: bin/podman +.PHONY: bin/podman-remote-static +podman-remote-static: bin/podman-remote-static + CGO_ENABLED=0 $(GO) build $(BUILDFLAGS) -gcflags '$(GCFLAGS)' -asmflags '$(ASMFLAGS)' -ldflags '$(LDFLAGS_PODMAN_STATIC)' -tags "!ABISupport varlink containers_image_openpgp remoteclient" -o bin/podman-remote-static $(PROJECT)/cmd/podman + .PHONY: bin/podman-remote bin/podman-remote: .gopathok $(SOURCES) go.mod go.sum $(PODMAN_VARLINK_DEPENDENCIES) ## Build with podman on remote environment $(GO_BUILD) $(BUILDFLAGS) -gcflags '$(GCFLAGS)' -asmflags '$(ASMFLAGS)' -ldflags '$(LDFLAGS_PODMAN)' -tags "$(BUILDTAGS) remoteclient" -o $@ $(PROJECT)/cmd/podman -- cgit v1.2.3-54-g00ecf