mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-16 23:29:38 +00:00
20 lines
397 B
Bash
Executable File
20 lines
397 B
Bash
Executable File
#!/bin/sh
|
|
# SUMMARY: Check that chained builds get the output of one for the next
|
|
# LABELS:
|
|
# REPEAT:
|
|
|
|
set -ex
|
|
|
|
# Source libraries. Uncomment if needed/defined
|
|
#. "${RT_LIB}"
|
|
. "${RT_PROJECT_ROOT}/_lib/lib.sh"
|
|
|
|
# Test code goes here
|
|
echo linuxkit is "$(which linuxkit)"
|
|
|
|
# build the first, use it to build the second
|
|
linuxkit pkg build --force ./build1
|
|
linuxkit pkg build --force ./build2
|
|
|
|
exit 0
|