Merge pull request #10334 from thaJeztah/bump_runc_1.1.13
update runc binary to v1.1.13
This commit is contained in:
commit
e49d3fd1bc
@ -34,18 +34,11 @@ function install_runc() {
|
|||||||
: "${RUNC_REPO:=https://github.com/opencontainers/runc.git}"
|
: "${RUNC_REPO:=https://github.com/opencontainers/runc.git}"
|
||||||
|
|
||||||
TMPROOT=$(mktemp -d)
|
TMPROOT=$(mktemp -d)
|
||||||
# runc is incompatible with Go 1.22 on glibc-based distros
|
|
||||||
# https://github.com/opencontainers/runc/issues/4233
|
|
||||||
GO121DIR="${TMPROOT}"/go121
|
|
||||||
mkdir -p "${GO121DIR}"
|
|
||||||
GOBIN="${GO121DIR}" go install golang.org/dl/go1.21.11@latest
|
|
||||||
GO121="${GO121DIR}"/go1.21.11
|
|
||||||
$GO121 download
|
|
||||||
git clone "${RUNC_REPO}" "${TMPROOT}"/runc
|
git clone "${RUNC_REPO}" "${TMPROOT}"/runc
|
||||||
pushd "${TMPROOT}"/runc
|
pushd "${TMPROOT}"/runc
|
||||||
git checkout "${RUNC_VERSION}"
|
git checkout "${RUNC_VERSION}"
|
||||||
make GO=$GO121 BUILDTAGS='seccomp' runc
|
make BUILDTAGS='seccomp' runc
|
||||||
$SUDO make GO=$GO121 install
|
$SUDO make install
|
||||||
popd
|
popd
|
||||||
rm -fR "${TMPROOT}"
|
rm -fR "${TMPROOT}"
|
||||||
}
|
}
|
||||||
|
@ -1 +1 @@
|
|||||||
v1.1.12
|
v1.1.13
|
||||||
|
Loading…
Reference in New Issue
Block a user