mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-04-19 21:52:27 +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-cryptography \
|
||||
py3-dateutil \
|
||||
py3-greenlet \
|
||||
py3-mysqlclient \
|
||||
py3-openssl \
|
||||
py3-packaging \
|
||||
|
|
|
@ -9,6 +9,7 @@ RUN apk --no-cache -U add \
|
|||
git \
|
||||
libcap \
|
||||
py3-colorama \
|
||||
py3-greenlet \
|
||||
py3-pip \
|
||||
py3-schedule \
|
||||
py3-sqlalchemy \
|
||||
|
|
|
@ -13,8 +13,8 @@ services:
|
|||
build: .
|
||||
container_name: dicompot
|
||||
restart: always
|
||||
cpu_count: 1
|
||||
cpus: 0.25
|
||||
# cpu_count: 1
|
||||
# cpus: 0.25
|
||||
networks:
|
||||
- dicompot_local
|
||||
ports:
|
||||
|
|
|
@ -13,9 +13,18 @@ RUN apk -U --no-cache add \
|
|||
openssl-dev \
|
||||
postgresql-dev \
|
||||
py3-cryptography \
|
||||
py3-elasticsearch \
|
||||
py3-geoip2 \
|
||||
py3-maxminddb \
|
||||
py3-mysqlclient \
|
||||
py3-packaging \
|
||||
py3-psycopg2 \
|
||||
py3-redis \
|
||||
py3-requests \
|
||||
py3-service_identity \
|
||||
py3-setuptools \
|
||||
py3-pip \
|
||||
py3-twisted \
|
||||
python3 \
|
||||
python3-dev && \
|
||||
mkdir -p /opt && \
|
||||
|
@ -23,7 +32,7 @@ RUN apk -U --no-cache add \
|
|||
git clone https://gitlab.com/bontchev/elasticpot.git/ && \
|
||||
cd elasticpot && \
|
||||
git checkout d12649730d819bd78ea622361b6c65120173ad45 && \
|
||||
pip3 install --ignore-installed packaging && \
|
||||
cp /root/dist/requirements.txt . && \
|
||||
pip3 install -r requirements.txt && \
|
||||
#
|
||||
# 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: .
|
||||
container_name: elasticpot
|
||||
restart: always
|
||||
cpu_count: 1
|
||||
cpus: 0.25
|
||||
# cpu_count: 1
|
||||
# cpus: 0.25
|
||||
networks:
|
||||
- elasticpot_local
|
||||
ports:
|
||||
|
|
Loading…
Reference in a new issue