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