Merge pull request #415 from jessfraz/release-static-binaries

Makefile: release static binaries
This commit is contained in:
Lantao Liu 2017-11-15 18:17:55 -08:00 committed by GitHub
commit 2143959895
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -110,7 +110,7 @@ install: binaries
uninstall:
rm -f $(BINDIR)/cri-containerd
$(BUILD_DIR)/$(TARBALL): $(BUILD_DIR)/cri-containerd hack/versions
$(BUILD_DIR)/$(TARBALL): static-binaries hack/versions
@BUILD_DIR=$(BUILD_DIR) TARBALL=$(TARBALL) ./hack/release.sh
release: $(BUILD_DIR)/$(TARBALL)

View File

@ -91,7 +91,7 @@ checkout_repo() {
checkout_repo ${RUNC_PKG} ${RUNC_VERSION}
cd ${GOPATH}/src/${RUNC_PKG}
BUILDTAGS=${BUILDTAGS:-seccomp apparmor}
make BUILDTAGS="$BUILDTAGS"
make static BUILDTAGS="$BUILDTAGS"
${sudo} make install -e DESTDIR=${RUNC_DIR}
# Install cni