Public Repository

Last pushed: a month ago
Short Description
Short description is empty for this repo.
Full Description

`FROM ubuntu:12.04
RUN locale-gen en_US.UTF-8
ENV LC_ALL en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LC_CTYPE en_US.UTF-8
RUN apt-get update -y -o DPkg::Options::=--force-confold && apt-get upgrade -y -o DPkg::Options::=--force-confold
RUN apt-get install -y -o DPkg::Options::=--force-confold git python2.7 python2.7-dev python-pip gettext libxml2-dev libxslt1-dev libmysqlclient-dev mysql-client libpq-dev postgresql-client build-essential

RUN easy_install -U pip

#WeasyPrint
RUN apt-get install -y -o DPkg::Options::=--force-confold libffi-dev libcairo2 libpango1.0-dev

Pil

RUN apt-get install -y -o DPkg::Options::=--force-confold libjpeg-dev

#See http://stackoverflow.com/questions/8915296/python-image-library-fails-with-message-decoder-jpeg-not-available-pil/10109941#10109941
RUN ln -s /usr/lib/x86_64-linux-gnu/libjpeg.so /usr/lib
RUN ln -s /usr/lib/x86_64-linux-gnu/libfreetype.so /usr/lib
RUN ln -s /usr/lib/x86_64-linux-gnu/libz.so /usr/lib

RUN apt-get install -y -o DPkg::Options::=--force-confold graphicsmagick ghostscript libcurl4-gnutls-dev libmemcached-dev xvfb

#wkhtmltox
RUN apt-get install -y -o DPkg::Options::=--force-confold wget
RUN wget http://downloads.sourceforge.net/project/wkhtmltopdf/0.12.2.1/wkhtmltox-0.12.2.1_linux-trusty-amd64.deb
RUN dpkg -i wkhtmltox-0.12.2.1_linux-trusty-amd64.deb || apt-get -y -f install
RUN rm wkhtmltox-0.12.2.1_linux-trusty-amd64.deb

RUN pip install uwsgi

LibreOffice Calc with uno bridge

RUN apt-get install -y -o DPkg::Options::=--force-confold libreoffice-calc python-uno

#vncserver
RUN apt-get install -y -o DPkg::Options::=--force-confold tightvncserver fluxbox xterm
WORKDIR /root
RUN mkdir .vnc && chmod 700 .vnc && echo 'test37' | vncpasswd -f > .vnc/passwd && chmod 600 .vnc/passwd
ADD xstartup .vnc/
RUN chmod 755 .vnc/xstartup

#CMD vncserver :35 -geometry 1400x1050

ADD deployment deployment/
ADD requirements.txt ./
RUN pip install -r requirements.txt

RUN pip install https://bitbucket.org/dbenamy/devcron/get/a8555e317042.zip`

Docker Pull Command
Owner
mediasapiens

Comments (0)