github.com/ncdc/docker@v0.10.1-0.20160129113957-6c6729ef5b74/hack/make/.ensure-syscall-test (about)

     1  #!/bin/bash
     2  set -e
     3  
     4  # Build a C binary for cloning a userns for seccomp tests
     5  # and compile it for target daemon
     6  if [ "$DOCKER_ENGINE_GOOS" = "linux" ]; then
     7  	docker build ${DOCKER_BUILD_ARGS} -qt syscall-test contrib/syscall-test > /dev/null
     8  fi