title: Docker building fails: returned a non-zero code: 1
body: <p>Dockerfile1</p>
  
  <pre><code>FROM ubuntu:latest
  MAINTAINER ME
  RUN apt-get update
  RUN apt-get update &amp;&amp; apt-get install -y net-tools \
  &amp;&amp; apt-get install inetutils-traceroute \
  &amp;&amp; apt-get install iputils-ping \
  &amp;&amp; apt-get install xinetd telnetd
  </code></pre>
  
  <p>Dockerfile2</p>
  
  <pre><code>FROM ubuntu:latest
  MAINTAINER ME
  RUN apt-get update
  RUN apt-get update &amp;&amp; apt-get install -y net-tools
  RUN apt-get update &amp;&amp; apt-get install inetutils-traceroute
  RUN apt-get update apt-get install iputils-ping
  RUN apt-get install xinetd telnetd
  </code></pre>
  
  <p>Dockerfile3</p>
  
  <pre><code>FROM ubuntu:latest
  MAINTAINER ME
  RUN apt-get update
  RUN apt-get install inetutils-traceroute
  RUN apt-get install -y net-tools
  RUN apt-get update apt-get install iputils-ping
  RUN apt-get install xinetd telnetd
  </code></pre>
  
  <p>I tried all the above flavors of my dockerfile but every time I get the same error : </p>
  
  <pre><code>The command '/bin/sh -c apt-get update &amp;&amp; apt-get install -y net-tools &amp;&amp; apt-get install inetutils-traceroute &amp;&amp; apt-get install iputils-ping &amp;&amp; apt-get install xinetd telnetd' returned a non-zero code: 1
  </code></pre>