title: Can't build a container from the Dockerfile
body: <p>I am working on a Linux Mint 17 machine and I am using Docker for the first time, so please bear with me.</p>
  
  <p>I have just installed Docker like this (basically just followed the documentation):</p>
  
  <pre><code>sudo apt-get install docker.io
  sudo ln -sf /usr/bin/docker.io /usr/local/bin/docker
  sudo sed -i '$acomplete -F _docker docker' /etc/bash_completion.d/docker.io
  </code></pre>
  
  <p>Then I try to build my container:</p>
  
  <pre><code>docker build -t myproject .
  </code></pre>
  
  <p>But I get this error message:</p>
  
  <pre><code>ricardo@toshi:~/workspace/myproj &gt; docker build -t myproject .
  Uploading context 94.72 kB
  Uploading context 
  Step 0 : FROM ubuntu:14.04
   ---&gt; ba5877dc9bec
  Step 1 : RUN apt-get update &amp;&amp; apt-get install -y php5-cli php5-dev php-pear wget build-essential
   ---&gt; Running in 729afe65b3f5
  2014/07/26 18:38:05 no such file or directory
  2014/07/26 20:38:05 The command [/bin/sh -c apt-get update &amp;&amp; apt-get install -y php5-cli php5-dev php-pear wget build-essential] returned a non-zero code: 1
  ricardo@toshi:~/workspace/myproject &gt; 
  </code></pre>
  
  <p>This is how the <code>Dockerfile</code> looks like:</p>
  
  <pre><code>FROM ubuntu:14.04
  
  RUN apt-get update &amp;&amp; apt-get install -y php5-cli php5-dev php-pear wget build-essential
  RUN wget http://www.xmailserver.org/libxdiff-0.23.tar.gz &amp;&amp; tar xvzf libxdiff-0.23.tar.gz &amp;&amp; cd libxdiff-0.23 &amp;&amp; ./configure &amp;&amp; make &amp;&amp; make install
  RUN pecl install xdiff-1.5.2
  RUN echo extension=xdiff.so &gt;&gt; /etc/php5/cli/conf.d/xdiff.ini
  RUN php -r "readfile('https://getcomposer.org/installer');" | php -- --install-dir=/bin --filename=composer
  
  WORKDIR /app
  ENV PORT 5000
  CMD composer install &amp;&amp; php bin/server.php
  </code></pre>
  
  <p>The error message, as shown above, says:</p>
  
  <pre><code>no such file or directory
  The command [/bin/sh -c apt-get update &amp;&amp; apt-get install -y php5-cli php5-dev php-pear wget build-essential] returned a non-zero code: 1
  </code></pre>
  
  <p>but I really don't know what exactly doesn't exist or what am I missing.</p>