title: Dockerhub fails to build my Dockerfile
body: <p>I made a Dockerfile that works great on my machine, but the build is failing on dockerhub.</p>
  
  <p>The dockerhub error is:</p>
  
  <pre><code>Build failed: The command '/bin/sh -c apt-get update &amp;&amp; DEBIAN_FRONTEND=noninteractive apt-get install -y curl gcc libc6-dev libc6 --no-install-recommends &amp;&amp; exit 0' returned a non-zero code: 1
  </code></pre>
  
  <p>That step builds fine on my (ARM) machine, however it does produce a warning:</p>
  
  <pre><code>debconf: delaying package configuration, since apt-utils is not installed
  </code></pre>
  
  <p><em>(I'm unable to silence that, tried fixes that worked for other people)</em>.</p>
  
  <p>Here is the dockerhub build (includes Dockerfile and error): <a href="https://hub.docker.com/r/askmike/golang-arm/builds/bnc9b3xqgedfbeboix2ezv4/" rel="nofollow noreferrer">https://hub.docker.com/r/askmike/golang-arm/builds/bnc9b3xqgedfbeboix2ezv4/</a></p>
  
  <hr>
  
  <ul>
  <li>Question 1: If there is warning from apt-get, will that consider the build failed? (I can't find what the return code would be).</li>
  <li>Question 2: Is there maybe another error in the dockerhub build that does not happen on my machine? If so, how can I ever troubleshoot this?</li>
  </ul>