ci 517 B

12345678910111213141516
  1. #!/bin/bash
  2. # This should be run inside a container built from the Dockerfile
  3. # at the root of the repo:
  4. #
  5. # $ TAG="docker-compose:$(git rev-parse --short HEAD)"
  6. # $ docker build -t "$TAG" .
  7. # $ docker run --rm --volume="/var/run/docker.sock:/var/run/docker.sock" --volume="$(pwd)/.git:/code/.git" -e "TAG=$TAG" --entrypoint="script/ci" "$TAG"
  8. set -e
  9. export DOCKER_VERSIONS=all
  10. export DOCKER_DAEMON_ARGS="--storage-driver=overlay"
  11. . script/test-versions
  12. >&2 echo "Building Linux binary"
  13. . script/build-linux-inner