From 273c5d3194d3248eaae580fc69bdd82e33340b2c Mon Sep 17 00:00:00 2001 From: Laurynas Lubys Date: Mon, 25 Apr 2022 13:46:19 +0000 Subject: [PATCH] Pin version of git used install_pkgs_reproducibility_test download_pkgs is not hermetic as it goes out to the package repository to fetch packages. If the remote apt repository gets updated, the bazel cache can get into a weird state. --- tests/docker/package_managers/BUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/docker/package_managers/BUILD b/tests/docker/package_managers/BUILD index d658bf481..aa14de144 100644 --- a/tests/docker/package_managers/BUILD +++ b/tests/docker/package_managers/BUILD @@ -122,7 +122,7 @@ download_pkgs( name = "download_pkg_git", image_tar = "@ubuntu1604//:ubuntu1604_vanilla.tar", packages = [ - "git", + "git=1:2.7.4-0ubuntu1", ], )