Fix branch checkout in the build Docker image, refs #21089
authorPeter Amstutz <peter.amstutz@curii.com>
Wed, 6 Dec 2023 22:54:53 +0000 (17:54 -0500)
committerPeter Amstutz <peter.amstutz@curii.com>
Thu, 7 Dec 2023 15:21:46 +0000 (10:21 -0500)
commit73cc3ce5feb6d22c40742c499db9c799aa5ff874
treea8a7b8ba80560ce0d3ef54082878e031cdff8255
parent3d5a1c29aad86476f2e789e1e54cabf8b4605aa2
Fix branch checkout in the build Docker image, refs #21089

Previously it would always check out the remote HEAD and not the
intended version that was going to be built, which causes problems
when the build environment diverges.

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
build/package-build-dockerfiles/centos7/Dockerfile
build/package-build-dockerfiles/debian10/Dockerfile
build/package-build-dockerfiles/debian11/Dockerfile
build/package-build-dockerfiles/rocky8/Dockerfile
build/package-build-dockerfiles/ubuntu1804/Dockerfile
build/package-build-dockerfiles/ubuntu2004/Dockerfile
build/run-build-packages-one-target.sh