title: oh-my-zsh installation returns non zero code
body: <p>I'm trying to install oh-my-zsh as part of a Docker build (using a Dockerfile). Here's the dockerfile line in question:</p>
  
  <pre><code>RUN wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh`
  </code></pre>
  
  <p>and the error I get is:</p>
  
  <blockquote>
    <p>The command [/bin/sh -c wget <a href="https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh" rel="nofollow noreferrer">https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh</a> -O - | zsh] returned a non-zero code: 1</p>
  </blockquote>
  
  <p><a href="https://gist.github.com/tal-moshayov/e4d05914f861eba7fbd7" rel="nofollow noreferrer">Full error gist here</a></p>
  
  <p>To debug, I've run the command manually and it works. Did anyone have luck installing oh-my-zsh as part of a docker build? any idea why it behaves differently if run this way?</p>