Merge pull request #2770 from rn/cadvisor

Update cadvisor and add build test
This commit is contained in:
Rolf Neugebauer 2017-11-24 13:36:17 +00:00 committed by GitHub
commit d88cf65928
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 1 deletions

View File

@ -1,5 +1,5 @@
kernel:
image: linuxkit/kernel:4.9.62
image: linuxkit/kernel:4.9.64
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
init:
- linuxkit/init:42a92119e1ca10380e0d33e26c0cbcf85b9b3558

View File

@ -0,0 +1,22 @@
#!/bin/sh
# SUMMARY: Test the cadvisor example
# LABELS:
set -e
# Source libraries. Uncomment if needed/defined
#. "${RT_LIB}"
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
NAME=cadvisor
clean_up() {
rm -f ${NAME}*
}
trap clean_up EXIT
# Test code goes here
linuxkit build "${LINUXKIT_EXAMPLES_DIR}/${NAME}.yml"
exit 0