tests: Fix the kmod tests

The kmod tests pull the kernel image to make sure they
have the latest version to build images against. Unfortunately
they were pulling the wrong kernel for non-4.9.x kernels.

This is not a big issue in most cases, but may have caused issues
when two different kernels packages were pushed with the same tag.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
Rolf Neugebauer 2018-02-21 10:34:58 +00:00
parent 52519fed67
commit ccd054ee5f
3 changed files with 3 additions and 3 deletions

View File

@ -19,7 +19,7 @@ clean_up() {
trap clean_up EXIT
# Make sure we have the latest kernel image
docker pull linuxkit/kernel:4.9.82
docker pull linuxkit/kernel:4.4.116
# Build a package
docker build -t ${IMAGE_NAME} .

View File

@ -19,7 +19,7 @@ clean_up() {
trap clean_up EXIT
# Make sure we have the latest kernel image
docker pull linuxkit/kernel:4.9.82
docker pull linuxkit/kernel:4.14.20
# Build a package
docker build -t ${IMAGE_NAME} .

View File

@ -19,7 +19,7 @@ clean_up() {
trap clean_up EXIT
# Make sure we have the latest kernel image
docker pull linuxkit/kernel:4.9.82
docker pull linuxkit/kernel:4.15.4
# Build a package
docker build -t ${IMAGE_NAME} .