Last active
December 29, 2015 05:09
-
-
Save mikeclarke/7620172 to your computer and use it in GitHub Desktop.
Simple base python Dockerfile (includes some basic OS packages, setuptools, pip, virtualenv, and uwsgi)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu | |
MAINTAINER Mike Clarke <mike@standardtreasury.com> | |
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 echo "Etc/UTC" > /etc/timezone | |
RUN dpkg-reconfigure -f noninteractive tzdata | |
RUN apt-get install -y git-core libxml2-dev build-essential python python-dev wget | |
RUN apt-get install -y postgresql-client-9.1 postgresql-client-common libpq5 | |
RUN apt-get install -y libpq-dev | |
RUN wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py | |
RUN python ez_setup.py | |
RUN wget https://raw.github.com/pypa/pip/master/contrib/get-pip.py | |
RUN python get-pip.py | |
RUN pip install virtualenv uwsgi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment