mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-30 14:10:57 +00:00
19 lines
418 B
Bash
Executable File
19 lines
418 B
Bash
Executable File
#!/bin/sh
|
|
# SUMMARY: Check that the build-args are correctly passed to Dockerfiles
|
|
# 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)"
|
|
RESULT="$(2>&1 linuxkit pkg build --force . | grep 'Build-arg test' || echo)"
|
|
echo RESULT="${RESULT}"
|
|
echo "${RESULT}" | grep -v "FAILED"
|
|
|
|
exit 0
|