Merge pull request #5184 from thaJeztah/fixate_buildtags

Prevent runc inheriting BUILDTAGS from containerd
This commit is contained in:
Maksym Pavlenko 2021-03-13 22:32:01 -08:00 committed by GitHub
commit 5b7f2657d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,7 @@ function install_runc() {
git clone https://github.com/opencontainers/runc.git "${TMPROOT}"/runc git clone https://github.com/opencontainers/runc.git "${TMPROOT}"/runc
pushd "${TMPROOT}"/runc pushd "${TMPROOT}"/runc
git checkout "${RUNC_VERSION}" git checkout "${RUNC_VERSION}"
make make BUILDTAGS='seccomp' runc
make install make install
popd popd
rm -fR "${TMPROOT}" rm -fR "${TMPROOT}"