Skip to content

Commit

Permalink
Add new cookbooks for python projects
Browse files Browse the repository at this point in the history
  • Loading branch information
crosbymichael committed Aug 17, 2013
1 parent e6995cf commit 16c85e6
Show file tree
Hide file tree
Showing 8 changed files with 47 additions and 15 deletions.
2 changes: 0 additions & 2 deletions cloud9/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

FROM shykes/nodejs

MAINTAINER Michael Crosby

RUN apt-get update
RUN apt-get upgrade

Expand Down
6 changes: 6 additions & 0 deletions django/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM crosbymichael/python

RUN pip install psycopg2
RUN pip install django

EXPOSE 8080
17 changes: 17 additions & 0 deletions ipython/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM crosbymichael/python

RUN apt-get update
RUN apt-get install -y libfreetype6 libfreetype6-dev
RUN apt-get install -y python-imaging libpng-dev
RUN apt-get install -y libzmq-dev

RUN pip install pyzmq
RUN pip install numpy
RUN pip install matplotlib
RUN pip install pandas
RUN pip install jinja2
RUN pip install ipython
EXPOSE 8888

ENTRYPOINT ["ipython"]
CMD ["notebook", "--pylab=inline"]
23 changes: 23 additions & 0 deletions python/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
FROM ubuntu

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

RUN apt-get install -y language-pack-en
ENV LANGUAGE en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LC_ALL en_US.UTF-8

RUN locale-gen en_US.UTF-8
RUN dpkg-reconfigure locales

RUN apt-get install -y openssh-server git-core libxml2-dev curl python build-essential make gcc python-dev wget libsqlite3-dev sqlite3
RUN apt-get install -y postgresql-client-9.1 postgresql-client-common libpq5
RUN apt-get install -y libpq-dev

RUN wget http://python-distribute.org/distribute_setup.py
RUN python distribute_setup.py

RUN wget https://raw.github.com/pypa/pip/master/contrib/get-pip.py
RUN python get-pip.py
2 changes: 0 additions & 2 deletions redis/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# Dockerfile for redis with config to set data dir to /redis/

FROM johncosta/redis

EXPOSE 6379
Expand Down
2 changes: 0 additions & 2 deletions rethinkdb/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@

FROM ubuntu

MAINTAINER Michael Crosby <[email protected]>

RUN echo "deb http://archive.ubuntu.com/ubuntu precise main universe" > /etc/apt/sources.list
RUN apt-get update
RUN apt-get upgrade -y
Expand Down
6 changes: 1 addition & 5 deletions sentry/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
# Dockerfile for sentry

FROM ubuntu

MAINTAINER Michael Crosby

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

RUN apt-get install -y language-pack-en
ENV LANGUAGE en_US.UTF-8
Expand Down
4 changes: 0 additions & 4 deletions stash/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
# Dockerfile for stash

FROM ubuntu

MAINTAINER Michael Crosby http://crosbymichael.com

RUN echo "deb http://archive.ubuntu.com/ubuntu precise main universe" > /etc/apt/sources.list
RUN apt-get update
RUN apt-get upgrade -y
Expand Down

0 comments on commit 16c85e6

Please sign in to comment.