improve demo build

This commit is contained in:
ziirish 2015-12-11 08:44:29 +01:00
parent cd7475b224
commit 2cbb14fcfd
9 changed files with 24 additions and 7 deletions

View file

@ -54,8 +54,9 @@ build:py3:
deploy:demo:
stage: deploy
script:
- cd docker/
- find . -name "install" | xargs sed -i "s/@build@/$(git rev-parse HEAD)/"
- find docker/ -name "install" | xargs sed -i "s/@build@/$(git rev-parse HEAD)/"
- cp -r docker/ /srv/demo/
- cd /srv/demo/docker/
- docker-compose build
- docker-compose stop
- docker-compose rm -f

View file

@ -5,7 +5,9 @@ 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 locales \
&& 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/

View file

@ -14,6 +14,8 @@ sslkey: /etc/burp/ssl_cert-server.key
version: 1
# agent password
password: azerty
# number of threads that will handle requests
threads: 20
## burp1 backend specific options
[Burp1]

View file

@ -5,7 +5,9 @@ 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 locales \
&& 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/

View file

@ -14,6 +14,8 @@ sslkey: /etc/burp/ssl_cert-server.key
version: 2
# agent password
password: azerty
# number of threads that will handle requests
threads: 20
[Burp2]
tmpdir: /tmp/bui/

View file

@ -109,6 +109,8 @@ mkdir -p /tmp/burp2/CA-client
chgrp -R burpui /tmp/burp2
chmod -R g+w /tmp/burp2
sed -i "s/^max_status_children.*$/max_status_children = 100/" /etc/burp/burp-server.conf
/usr/sbin/burp -g -c /etc/burp/burp-server.conf
# cleanup

View file

@ -5,7 +5,9 @@ RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y supervisor logrotate locales wget curl python2.7-dev git python-virtualenv gunicorn python-pip cron libffi-dev \
&& update-locale LANG=C.UTF-8 LC_MESSAGES=POSIX \
&& locale-gen en_US.UTF-8 \
&& dpkg-reconfigure locales \
&& 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/

View file

@ -5,7 +5,9 @@ RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y supervisor logrotate locales wget curl uthash-dev g++ make libssl-dev librsync-dev git cron \
&& update-locale LANG=C.UTF-8 LC_MESSAGES=POSIX \
&& locale-gen en_US.UTF-8 \
&& dpkg-reconfigure locales \
&& 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/

View file

@ -5,7 +5,9 @@ RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y supervisor logrotate locales wget curl uthash-dev g++ make libssl-dev librsync-dev git cron \
&& update-locale LANG=C.UTF-8 LC_MESSAGES=POSIX \
&& locale-gen en_US.UTF-8 \
&& dpkg-reconfigure locales \
&& 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/