# Testcase: Check if command of TOOLCHAIN action is executed in the host sysroot
FROM debian_amd64_stretch
TOOLCHAIN toolchain.tar echo "test"; pwd; touch /tmp/file-in-host-sysroot
RUN HOST tar -tf ../toolchain.tar | grep ./host/tmp/file-in-host-sysroot; \
[ $? == 0 ] && touch ../result.tar