1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- FROM debian:jessie
- MAINTAINER contact@algoo.fr
-
-
-
-
- RUN apt-get update -q \
- && DEBIAN_FRONTEND=noninteractive apt-get install -yq --no-install-recommends \
- git \
- locales \
- realpath \
- python3 \
- python3-dev \
- python3-pip \
- build-essential \
- libxml2-dev \
- libxslt1-dev \
- python-lxml \
- postgresql-server-dev-all \
- postgresql \
- postgresql-client \
- uwsgi \
- uwsgi-plugin-python3 \
- mysql-client \
- libmysqld-dev \
- sqlite3
-
-
- RUN locale-gen en_US.UTF-8 en_us \
- && dpkg-reconfigure locales \
- && locale-gen C.UTF-8 \
- && /usr/sbin/update-locale LANG=C.UTF-8
- ENV LANG C.UTF-8
- ENV LANGUAGE C.UTF-8
- ENV LC_ALL C.UTF-8
-
-
- RUN git clone https://github.com/tracim/tracim.git \
- && cd /tracim/tracim \
- && python3 setup.py develop \
- && cd /tracim \
- && pip3 install -r install/requirements.txt\
- && pip3 install https://launchpad.net/oursql/py3k/py3k-0.9.4/+download/oursql-0.9.4.zip \
- && echo 20161216001
-
-
- RUN mkdir /etc/tracim \
- && mkdir /var/lib/tracim
- VOLUME ["/etc/tracim", "/var/lib/tracim"]
-
-
- COPY uwsgi.ini /tracim/tracim/uwsgi.ini.template
- COPY wsgi.py /tracim/tracim/wsgi.py
- COPY check_env_vars.sh /tracim/check_env_vars.sh
- COPY entrypoint.sh /tracim/entrypoint.sh
-
-
- CMD ["/tracim/entrypoint.sh"]
|