mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-11 21:30:35 +00:00
Move to the development track of `containerd` not the legacy 0.2 branch. The commands have changed a bit. This does increase the image size as we are bundling the Docker copy and our copy, and the new one is larger as it is growing features. Hopefully Docker will shrink eventually. Also we may replace `ctr` with a library. Fix #1029 Signed-off-by: Justin Cormack <justin.cormack@docker.com>
26 lines
319 B
Plaintext
Executable File
26 lines
319 B
Plaintext
Executable File
#!/sbin/openrc-run
|
|
|
|
depend()
|
|
{
|
|
need docker containerd
|
|
}
|
|
|
|
start()
|
|
{
|
|
[ -d /test ] || exit 0
|
|
|
|
ebegin "Running tests"
|
|
|
|
if ctr run --bundle /test test
|
|
then
|
|
printf "Moby test suite PASSED\n"
|
|
else
|
|
printf "Moby test suite FAILED\n"
|
|
fi
|
|
|
|
eend "Tests completed"
|
|
|
|
# now terminate with extreme prejudice
|
|
poweroff -f
|
|
}
|