From a660ecd962ca446a9ed944fcd5bb3879391ac076 Mon Sep 17 00:00:00 2001 From: Zach Loafman Date: Wed, 11 Mar 2015 10:57:13 -0700 Subject: [PATCH] Try to fix 'Release file is expired' complaints Based on info from: http://unix.stackexchange.com/questions/2544/how-to-work-around-apts-release-file-expired-problem-on-a-local-mirror --- build/build-image/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/build-image/Dockerfile b/build/build-image/Dockerfile index 2ba4796e86a..fe25315e9bb 100644 --- a/build/build-image/Dockerfile +++ b/build/build-image/Dockerfile @@ -28,7 +28,7 @@ RUN go get golang.org/x/tools/cmd/cover github.com/tools/godep # We use rsync to copy some binaries around. It is faster (0.3s vs. 1.1s) on my # machine vs. `install` RUN rm -rf /var/lib/apt/lists/ -RUN apt-get update && apt-get install -y rsync +RUN apt-get -o Acquire::Check-Valid-Until=false update && apt-get install -y rsync # Download and symlink etcd. We need this for our integration tests. RUN mkdir -p /usr/local/src/etcd &&\