14 lines
		
	
	
		
			417 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			417 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/usr/bin/env bash
 | 
						|
#
 | 
						|
# Builds and installs runc to /usr/local/go/bin based off
 | 
						|
# the commit defined in vendor.conf
 | 
						|
#
 | 
						|
set -eu -o pipefail
 | 
						|
 | 
						|
RUNC_COMMIT=$(grep opencontainers/runc ${GOPATH}/src/github.com/containerd/containerd/vendor.conf | cut -d " " -f 2)
 | 
						|
 | 
						|
go get -d github.com/opencontainers/runc
 | 
						|
cd $GOPATH/src/github.com/opencontainers/runc
 | 
						|
git checkout $RUNC_COMMIT
 | 
						|
make BUILDTAGS="apparmor seccomp" runc install
 |