title: Docker Build can't find pip
body: <p>Trying to follow a few[<a href="https://aws.amazon.com/blogs/aws/run-docker-apps-locally-using-the-elastic-beanstalk-eb-cli/" rel="noreferrer">1</a>][<a href="http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_dockerpreconfig.walkthrough.html" rel="noreferrer">2</a>] simple Docker tutorials via AWS am and getting the following error:</p>
  
  <pre><code>&gt; docker build -t my-app-image .                                         
  Sending build context to Docker daemon 94.49 MB
  Step 1 : FROM amazon/aws-eb-python:3.4.2-onbuild-3.5.1
  # Executing 2 build triggers...
  Step 1 : ADD . /var/app
   ---&gt; Using cache
  Step 1 : RUN if [ -f /var/app/requirements.txt ]; then /var/app/bin/pip install -r /var/app/requirements.txt; fi
   ---&gt; Running in d48860787e63
  /bin/sh: 1: /var/app/bin/pip: not found
  The command '/bin/sh -c if [ -f /var/app/requirements.txt ]; then /var/app/bin/pip install -r /var/app/requirements.txt; fi' returned a non-zero code: 127
  </code></pre>
  
  <p>Dockerfile:</p>
  
  <pre><code># For Python 3.4
  FROM amazon/aws-eb-python:3.4.2-onbuild-3.5.1
  </code></pre>
  
  <p>Which pip returns the following:</p>
  
  <pre><code>&gt; which pip                                                             
  ./bin/pip
  </code></pre>
  
  <p>Relevant file structure:</p>
  
  <pre><code>.
  ├── Dockerfile
  ├── bin
  │   ├── activate
  │   ├── pip
  │   ├── pip3
  │   ├── pip3.5
  │   ├── python -&gt; python3
  │   ├── python-config
  │   ├── python3
  │   ├── python3.5 -&gt; python3
  │   .
  .
  </code></pre>
  
  <p>Again, noob in all things Docker so I'm not sure what troubleshooting steps to take. Please let me know what other helpful information I can provide.</p>