diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2020-05-06 09:16:10 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2020-05-07 14:40:31 -0400 |
commit | 5c1c7b77cec9ea6f94a479c9a72aa5457a2031ac (patch) | |
tree | fc7ad525cd5a5ecfb9c6c5a6c083baa728d8be06 | |
parent | e9b178556d89fa7d483826fbfb59e1075081f800 (diff) | |
download | podman-5c1c7b77cec9ea6f94a479c9a72aa5457a2031ac.tar.gz podman-5c1c7b77cec9ea6f94a479c9a72aa5457a2031ac.tar.bz2 podman-5c1c7b77cec9ea6f94a479c9a72aa5457a2031ac.zip |
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 <dwalsh@redhat.com>
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |