mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-08 02:10:00 +00:00
19 lines
412 B
Bash
Executable File
19 lines
412 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 PASSED)"
|
|
echo RESULT="${RESULT}"
|
|
echo "${RESULT}" | grep "Build-arg test PASSED"
|
|
|
|
exit 0
|