3 # Download and run Docker image to build and test Git
10 CI_CONTAINER="daald/ubuntu32:xenial"
17 docker pull "$CI_CONTAINER"
19 # Use the following command to debug the docker build locally:
20 # <host-user-id> must be 0 if podman is used as drop-in replacement for docker
21 # $ docker run -itv "${PWD}:/usr/src/git" --entrypoint /bin/sh "$CI_CONTAINER"
22 # root@container:/# export jobname=<jobname>
23 # root@container:/# /usr/src/git/ci/run-docker-build.sh <host-user-id>
25 container_cache_dir=/tmp/travis-cache
30 --env DEFAULT_TEST_TARGET \
31 --env GIT_PROVE_OPTS \
33 --env GIT_TEST_CLONE_2GB \
36 --env cache_dir="$container_cache_dir" \
37 --volume "${PWD}:/usr/src/git" \
38 --volume "$cache_dir:$container_cache_dir" \
40 /usr/src/git/ci/run-docker-build.sh $(id -u $USER)
42 check_unignored_build_artifacts