burp-ui/docker/docker-burp1/Dockerfile
2016-03-28 19:19:53 +02:00

28 lines
867 B
Docker

FROM debian:jessie
MAINTAINER hi+burpui@ziirish.me
RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y supervisor logrotate locales wget curl uthash-dev g++ make libssl-dev librsync-dev python2.7-dev git python-virtualenv python-pip cron libffi-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/*
ADD assets/setup/ /app/setup/
ADD assets/config/ /app/setup/config/
ADD assets/init /app/init
RUN chmod 755 /app/init
RUN chmod 755 /app/setup/install
RUN /app/setup/install
EXPOSE 10000/tcp
VOLUME ["/srv/demo/spool/burp1/backup:/var/spool/burp"]
VOLUME ["/srv/demo/spool/burp1/tmp:/tmp/bui"]
ENTRYPOINT ["/app/init"]
CMD ["app:start"]