mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-04-20 06:02:24 +00:00
tweaking, reduce build times
This commit is contained in:
parent
1974a7e6ab
commit
a0d82ddc45
6 changed files with 22 additions and 5 deletions
|
@ -21,6 +21,7 @@ RUN apk --no-cache -U add \
|
||||||
py3-bcrypt \
|
py3-bcrypt \
|
||||||
py3-cryptography \
|
py3-cryptography \
|
||||||
py3-dateutil \
|
py3-dateutil \
|
||||||
|
py3-greenlet \
|
||||||
py3-mysqlclient \
|
py3-mysqlclient \
|
||||||
py3-openssl \
|
py3-openssl \
|
||||||
py3-packaging \
|
py3-packaging \
|
||||||
|
|
|
@ -9,6 +9,7 @@ RUN apk --no-cache -U add \
|
||||||
git \
|
git \
|
||||||
libcap \
|
libcap \
|
||||||
py3-colorama \
|
py3-colorama \
|
||||||
|
py3-greenlet \
|
||||||
py3-pip \
|
py3-pip \
|
||||||
py3-schedule \
|
py3-schedule \
|
||||||
py3-sqlalchemy \
|
py3-sqlalchemy \
|
||||||
|
|
|
@ -13,8 +13,8 @@ services:
|
||||||
build: .
|
build: .
|
||||||
container_name: dicompot
|
container_name: dicompot
|
||||||
restart: always
|
restart: always
|
||||||
cpu_count: 1
|
# cpu_count: 1
|
||||||
cpus: 0.25
|
# cpus: 0.25
|
||||||
networks:
|
networks:
|
||||||
- dicompot_local
|
- dicompot_local
|
||||||
ports:
|
ports:
|
||||||
|
|
|
@ -13,9 +13,18 @@ RUN apk -U --no-cache add \
|
||||||
openssl-dev \
|
openssl-dev \
|
||||||
postgresql-dev \
|
postgresql-dev \
|
||||||
py3-cryptography \
|
py3-cryptography \
|
||||||
|
py3-elasticsearch \
|
||||||
|
py3-geoip2 \
|
||||||
|
py3-maxminddb \
|
||||||
py3-mysqlclient \
|
py3-mysqlclient \
|
||||||
|
py3-packaging \
|
||||||
|
py3-psycopg2 \
|
||||||
|
py3-redis \
|
||||||
py3-requests \
|
py3-requests \
|
||||||
|
py3-service_identity \
|
||||||
|
py3-setuptools \
|
||||||
py3-pip \
|
py3-pip \
|
||||||
|
py3-twisted \
|
||||||
python3 \
|
python3 \
|
||||||
python3-dev && \
|
python3-dev && \
|
||||||
mkdir -p /opt && \
|
mkdir -p /opt && \
|
||||||
|
@ -23,7 +32,7 @@ RUN apk -U --no-cache add \
|
||||||
git clone https://gitlab.com/bontchev/elasticpot.git/ && \
|
git clone https://gitlab.com/bontchev/elasticpot.git/ && \
|
||||||
cd elasticpot && \
|
cd elasticpot && \
|
||||||
git checkout d12649730d819bd78ea622361b6c65120173ad45 && \
|
git checkout d12649730d819bd78ea622361b6c65120173ad45 && \
|
||||||
pip3 install --ignore-installed packaging && \
|
cp /root/dist/requirements.txt . && \
|
||||||
pip3 install -r requirements.txt && \
|
pip3 install -r requirements.txt && \
|
||||||
#
|
#
|
||||||
# Setup user, groups and configs
|
# Setup user, groups and configs
|
||||||
|
|
6
docker/elasticpot/dist/requirements.txt
vendored
Normal file
6
docker/elasticpot/dist/requirements.txt
vendored
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
configparser>=3.5.0
|
||||||
|
couchdb
|
||||||
|
hpfeeds>=3.0.0
|
||||||
|
influxdb
|
||||||
|
pymongo
|
||||||
|
rethinkdb>=2.4
|
|
@ -10,8 +10,8 @@ services:
|
||||||
build: .
|
build: .
|
||||||
container_name: elasticpot
|
container_name: elasticpot
|
||||||
restart: always
|
restart: always
|
||||||
cpu_count: 1
|
# cpu_count: 1
|
||||||
cpus: 0.25
|
# cpus: 0.25
|
||||||
networks:
|
networks:
|
||||||
- elasticpot_local
|
- elasticpot_local
|
||||||
ports:
|
ports:
|
||||||
|
|
Loading…
Reference in a new issue