Put this role in your tests.yml playbook. The role will
build and execute a test in a Dockerfile. Because such
tests often interact heavily with the operating system
and kernel, the test will be run in a chroot, rather than
by docker.
Don't use the VOLUME ENV or other runtime commands.
Keep your CMD to a single line.
The test subject file system will be mounted at /host
while your test is running.
You can redefine the following variables:
build: The directory containing the Dockerfile to build
Put this role in your tests.yml playbook. The role will
build and execute a test in a Dockerfile. Because such
tests often interact heavily with the operating system
and kernel, the test will be run in a chroot, rather than
by docker.
Don't use the VOLUME ENV or other runtime commands.
Keep your CMD to a single line.
The test subject file system will be mounted at /host
while your test is running.
You can redefine the following variables: