add test suite

This commit is contained in:
ziirish 2015-12-29 21:32:26 +01:00
parent 93572ed7f0
commit 8cf212b7e5
2 changed files with 14 additions and 1 deletions

View file

@ -43,7 +43,7 @@ demo-bui:
volumes:
- /srv/demo/conf/bui:/etc/burp
ports:
- 5000:5000
- 127.0.0.1:5000:5000
links:
- demo-redis
- demo-burp1

View file

@ -0,0 +1,13 @@
FROM python:3.4
MAINTAINER ziirish@ziirish.info
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y locales wget curl uthash-dev g++ make libssl-dev librsync-dev python3.4-dev \
&& update-locale LANG=C.UTF-8 LC_MESSAGES=POSIX \
&& locale-gen en_US.UTF-8 \
&& dpkg-reconfigure -f noninteractive locales \
&& echo "Europe/Paris" >/etc/timezone \
&& dpkg-reconfigure -f noninteractive tzdata \
&& rm -rf /var/lib/apt/lists/*
CMD ["/usr/bin/python"]