mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
a2f5a1a5b2
Release notes: https://github.com/opencontainers/runc/releases/tag/v1.0.0-rc5 Possibly relevant changes included: - chroot when no mount namespaces is provided - fix systemd slice expansion so that it could be consumed by cAdvisor - libcontainer/capabilities_linux: Drop os.Getpid() call - Update console dependency to fix runc exec on BE (causing: `container_linux.go:265: starting container process caused "open /dev/pts/4294967296: no such file or directory"`) - libcontainer: setupUserNamespace is always called (fixes: Devices are mounted with wrong uid/gid) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
17 lines
582 B
Bash
Executable file
17 lines
582 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# When updating RUNC_COMMIT, also update runc in vendor.conf accordingly
|
|
RUNC_COMMIT=4fc53a81fb7c994640722ac585fa9ca548971871
|
|
|
|
install_runc() {
|
|
# Do not build with ambient capabilities support
|
|
RUNC_BUILDTAGS="${RUNC_BUILDTAGS:-"seccomp apparmor selinux"}"
|
|
|
|
echo "Install runc version $RUNC_COMMIT"
|
|
git clone https://github.com/opencontainers/runc.git "$GOPATH/src/github.com/opencontainers/runc"
|
|
cd "$GOPATH/src/github.com/opencontainers/runc"
|
|
git checkout -q "$RUNC_COMMIT"
|
|
make BUILDTAGS="$RUNC_BUILDTAGS" $1
|
|
mkdir -p ${PREFIX}
|
|
cp runc ${PREFIX}/docker-runc
|
|
}
|