Skip to content

Commit

Permalink
Updated dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
karthikb351 committed Oct 6, 2015
1 parent 7fd98e1 commit eeb5c44
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
FROM ubuntu:14.04

# Configure apt

RUN echo 'deb http://us.archive.ubuntu.com/ubuntu/ precise universe' >> /etc/apt/sources.list
RUN apt-get -y update

RUN apt-get install -y build-essential git curl
RUN apt-get install -y python python-dev python-setuptools
RUN apt-get install -y software-properties-common python-software-properties
RUN apt-get install -y libpq-dev libffi-dev libxml2-dev libxslt1-dev
RUN apt-get install -y pandoc
RUN apt-get install -y nodejs
RUN apt-get install -y build-essential git curl python python-dev python-setuptools software-properties-common python-software-properties libpq-dev libffi-dev libxml2-dev libxslt1-dev pandoc nodejs libjpeg-dev
RUN easy_install-2.7 pip

# add our requirements
Expand All @@ -19,9 +13,6 @@ ADD requirements.txt /code/hasjob/requirements.txt
# run pip install
RUN pip2.7 install -r /code/hasjob/requirements.txt

RUN pip2.7 uninstall dnspython3 -y
RUN git clone https://github.com/rthalley/dnspython && cd dnspython && python setup.py install && cd .. && rm -rf dnspython

# copy over our code
ADD . /code/hasjob

Expand Down

0 comments on commit eeb5c44

Please sign in to comment.