diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-04-25 06:28:53 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-25 06:28:53 -0700 |
commit | d08efde586b18ed169da2502cc17b14b0497b08a (patch) | |
tree | 2af9a2fad0124b36f57a7d6d31c141101eacbdac | |
parent | ee8488555b2a105bb48e8bf049133889e5e34bdf (diff) | |
parent | 4f7cbce9116f31905468d4f5d694f66bee153e63 (diff) | |
download | podman-d08efde586b18ed169da2502cc17b14b0497b08a.tar.gz podman-d08efde586b18ed169da2502cc17b14b0497b08a.tar.bz2 podman-d08efde586b18ed169da2502cc17b14b0497b08a.zip |
Merge pull request #2975 from kunalkushwaha/containerized-podman-remote-build
build podman-remote with Dockerfile.
-rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -152,6 +152,12 @@ libpodimage: ## Build the libpod image dbuild: libpodimage ${CONTAINER_RUNTIME} run --name=${LIBPOD_INSTANCE} --privileged -v ${PWD}:/go/src/${PROJECT} --rm ${LIBPOD_IMAGE} make all +dbuild-podman-remote: libpodimage + ${CONTAINER_RUNTIME} run --name=${LIBPOD_INSTANCE} --privileged -v ${PWD}:/go/src/${PROJECT} --rm ${LIBPOD_IMAGE} go build -ldflags '$(LDFLAGS_PODMAN)' -tags "$(BUILDTAGS) remoteclient" -o bin/podman-remote $(PROJECT)/cmd/podman + +dbuild-podman-remote-darwin: libpodimage + ${CONTAINER_RUNTIME} run --name=${LIBPOD_INSTANCE} --privileged -v ${PWD}:/go/src/${PROJECT} --rm ${LIBPOD_IMAGE} env GOOS=darwin go build -ldflags '$(LDFLAGS_PODMAN)' -tags "remoteclient containers_image_openpgp exclude_graphdriver_devicemapper" -o bin/podman-remote-darwin $(PROJECT)/cmd/podman + test: libpodimage ## Run tests on built image ${CONTAINER_RUNTIME} run -e STORAGE_OPTIONS="--storage-driver=vfs" -e TESTFLAGS -e OCI_RUNTIME -e CGROUP_MANAGER=cgroupfs -e TRAVIS -t --privileged --rm -v ${CURDIR}:/go/src/${PROJECT} ${LIBPOD_IMAGE} make clean all localunit install.catatonit localintegration |