Skip to content
This repository has been archived by the owner on Jan 28, 2020. It is now read-only.

Commit

Permalink
Fixed requests installation
Browse files Browse the repository at this point in the history
  • Loading branch information
Giovanni Di Milia committed Jan 21, 2016
1 parent dd638ac commit 4e263c5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 6 additions & 2 deletions Dockerfile
Expand Up @@ -8,8 +8,12 @@ WORKDIR /tmp
COPY apt.txt /tmp/apt.txt
RUN apt-get update &&\
apt-get install -y $(grep -vE "^\s*#" apt.txt | tr "\n" " ") &&\
ln -s /usr/bin/nodejs /usr/bin/node &&\
pip install pip --upgrade
ln -s /usr/bin/nodejs /usr/bin/node

# Install pip
RUN curl --silent --location https://bootstrap.pypa.io/get-pip.py > get-pip.py &&\
python3 get-pip.py &&\
python get-pip.py

# Add non-root user.
RUN adduser --disabled-password --gecos "" mitodl
Expand Down
3 changes: 1 addition & 2 deletions apt.txt
@@ -1,9 +1,8 @@
# Core requirements

curl
git
libpq-dev
python-pip
python3-pip
python-dev
python3-dev
npm
Expand Down

0 comments on commit 4e263c5

Please sign in to comment.