Public Repository

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

0.2 install circus environment

0.3 import python packages

0.5 change Dockerfile

VERSION 0.4

FROM ubuntu
MAINTAINER ywei "ywei@appannie.com"
RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends python python-pip python-dev
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends libpq-dev libyaml-dev
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends postgresql-client-9.3
RUN DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends gcc -y
RUN DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends swig -y
RUN DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends python-m2crypto -y
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends libxml2-dev libxslt1-dev
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends libzmq-dev

RUN DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends curl -y

RUN DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends python-setuptools -y

RUN DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends wget -y

RUN wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -O - | python

RUN curl -O https://svn.apache.org/repos/asf/oodt/tools/oodtsite.publisher/trunk/distribute_setup.py

RUN python distribute_setup.py

RUN pip install --no-use-wheel --upgrade distribute

WORKDIR /tmp
ADD requirements.txt /tmp/requirements.txt
RUN pip install -r /tmp/requirements.txt
RUN pip install circus

RUN easy_install -U pip

RUN apt-get clean
RUN rm -rf /var/lib/apt/lists/ /tmp/ /var/tmp/*

WORKDIR /usr/local/bin/

#CMD ["/usr/local/bin/circusd --daemon /rep/circus.ini ; tail -f /dev/null"]
CMD /usr/local/bin/circusd --daemon /rep/circus.ini ; tail -f /dev/null

Docker Pull Command
Owner
aaa8k