Merge pull request #415 from jessfraz/release-static-binaries
Makefile: release static binaries
This commit is contained in:
commit
2143959895
2
Makefile
2
Makefile
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user