2015-12-30 14:20:23 -05:00
|
|
|
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
|
|
|
|
# Build a C binary for cloning a userns for seccomp tests
|
|
|
|
# and compile it for target daemon
|
|
|
|
if [ "$DOCKER_ENGINE_GOOS" = "linux" ]; then
|
2016-01-08 02:27:21 -05:00
|
|
|
docker build ${DOCKER_BUILD_ARGS} -qt syscall-test contrib/syscall-test > /dev/null
|
2015-12-30 14:20:23 -05:00
|
|
|
fi
|