title: Docker build fails in apt-get
body: <p>I'm getting an error during build. I've seen many similar questions but nothing seems to solve this issue.</p>
  
  <p>I'm running Docker (Version 17.06.0-ce-mac18) on OS X El Capitan.</p>
  
  <p>My <code>Dockerfile</code> is:</p>
  
  <pre><code>FROM ubuntu:14.04
  RUN apt-get update &amp;&amp; apt-get install -y -q git
  </code></pre>
  
  <p>I'm getting Bad Request 400 error from one of git dependencies:</p>
  
  <pre><code>Get:38 http://archive.ubuntu.com/ubuntu/ trusty-updates/main patch amd64 2.7.1-4ubuntu2.3 [86.4 kB]
  Fetched 7619 kB in 5s (1367 kB/s)
  E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/libx/libx11/libx11-data_1.6.2-1ubuntu2_all.deb  400  Bad Request [IP: 91.189.88.162 80]
  
  E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
  The command '/bin/sh -c apt-get update &amp;&amp; apt-get install -y -q git' returned a non-zero code: 100
  </code></pre>
  
  <p>Any explanations or ideas for workaround?</p>