mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-29 23:19:43 +00:00
pull and cache images locally without docker
Signed-off-by: Avi Deitcher <avi@deitcher.net>
This commit is contained in:
@@ -15,7 +15,7 @@ clean_up() {
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+initrd -name "${NAME}" test.yml
|
||||
linuxkit build -docker -format kernel+initrd -name "${NAME}" test.yml
|
||||
[ -f "${NAME}-kernel" ] || exit 1
|
||||
[ -f "${NAME}-initrd.img" ] || exit 1
|
||||
[ -f "${NAME}-cmdline" ]|| exit 1
|
||||
|
||||
@@ -15,7 +15,7 @@ clean_up() {
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+squashfs -name "${NAME}" test.yml
|
||||
linuxkit build -docker -format kernel+squashfs -name "${NAME}" test.yml
|
||||
[ -f "${NAME}-kernel" ] || exit 1
|
||||
[ -f "${NAME}-squashfs.img" ] || exit 1
|
||||
[ -f "${NAME}-cmdline" ]|| exit 1
|
||||
|
||||
@@ -15,7 +15,7 @@ clean_up() {
|
||||
}
|
||||
trap clean_up EXIT
|
||||
|
||||
linuxkit build -format kernel+initrd -name "${NAME}" test.yml
|
||||
linuxkit build -docker -format kernel+initrd -name "${NAME}" test.yml
|
||||
[ -f "${NAME}-kernel" ] || exit 1
|
||||
[ -f "${NAME}-initrd.img" ] || exit 1
|
||||
[ -f "${NAME}-cmdline" ] || exit 1
|
||||
|
||||
Reference in New Issue
Block a user