running tests in a container
This provides a dockerfile for building a container to run the containerd tests Signed-off-by: Christopher Jones <tophj@linux.vnet.ibm.com>
This commit is contained in:
13
script/setup/install-runc
Executable file
13
script/setup/install-runc
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
#
|
||||
# Builds and installs runc to /usr/local/go/bin based off
|
||||
# the commit defined in vendor.conf
|
||||
#
|
||||
set -eux -o pipefail
|
||||
|
||||
RUNC_COMMIT=$(grep opencontainers/runc ${GOPATH}/src/github.com/containerd/containerd/vendor.conf | cut -d " " -f 2)
|
||||
|
||||
go get -u github.com/opencontainers/runc
|
||||
cd $GOPATH/src/github.com/opencontainers/runc
|
||||
git checkout $RUNC_COMMIT
|
||||
make BUILDTAGS="apparmor seccomp" runc install
|
Reference in New Issue
Block a user