diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-05-08 15:09:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-08 15:09:55 +0200 |
commit | dca68567289c1fb14ade1eb702718bf815386061 (patch) | |
tree | 885d581a48ba8d38e2c61de1cf8d68898c67d842 | |
parent | 6b5be634b99706737feae10625ac4513fc1c4917 (diff) | |
parent | 5c1c7b77cec9ea6f94a479c9a72aa5457a2031ac (diff) | |
download | podman-dca68567289c1fb14ade1eb702718bf815386061.tar.gz podman-dca68567289c1fb14ade1eb702718bf815386061.tar.bz2 podman-dca68567289c1fb14ade1eb702718bf815386061.zip |
Merge pull request #6102 from rhatdan/makefile
Add command to build podman-remote-static
-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 |