Repository: mesos Updated Branches: refs/heads/master 03def4992 -> 9a6e0065f
Fixed flaky apt-get fetch issue for ubuntu. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/9a6e0065 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/9a6e0065 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/9a6e0065 Branch: refs/heads/master Commit: 9a6e0065f57df2def43fe057e7b5f6f8cde877ad Parents: 03def49 Author: Vinod Kone <[email protected]> Authored: Thu Aug 27 16:32:11 2015 -0700 Committer: Vinod Kone <[email protected]> Committed: Fri Aug 28 09:05:06 2015 -0700 ---------------------------------------------------------------------- support/jenkins_build.sh | 4 ++++ 1 file changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/9a6e0065/support/jenkins_build.sh ---------------------------------------------------------------------- diff --git a/support/jenkins_build.sh b/support/jenkins_build.sh index 49bb091..8451c05 100755 --- a/support/jenkins_build.sh +++ b/support/jenkins_build.sh @@ -51,6 +51,10 @@ case $OS in append_dockerfile "FROM $OS" + # NOTE: We need to do this to fix some flakiness while fetching packages. + # See https://bugs.launchpad.net/ubuntu/+source/apt/+bug/972077 + append_dockerfile "RUN rm -rf /var/lib/apt/lists/*" + # Install dependencies. append_dockerfile "RUN apt-get update" append_dockerfile "RUN apt-get -y install build-essential clang git maven autoconf libtool"
