github.com/uriddle/docker@v0.0.0-20210926094723-4072e6aeb013/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