title: could not read Username for 'https://github.com': No such device or address
body: <p>I'm using <code>git</code> to build a <code>docker</code> image with this command: <code>sudo docker build github.com/roseperrone/myproject</code>, but I get this error:</p>
  
  <p><code>could not read Username for 'https://github.com': No such device or address</code></p>
  
  <p>How should I provide my git credentials?</p>
  
  <p>I'm running inside an AWS ec2 instance.</p>