heralding, honeypots reduce build time, tweaking

This commit is contained in:
t3chn0m4g3
2022-03-12 17:59:31 +00:00
parent a0d82ddc45
commit e87a6fa53f
12 changed files with 96 additions and 16 deletions

View File

@ -12,7 +12,18 @@ RUN apk -U --no-cache add \
openssl-dev \
py3-pyzmq \
postgresql-dev \
py3-attrs \
py3-mysqlclient \
py3-nose \
py3-openssl \
py3-pip \
py3-psycopg2 \
py3-pycryptodome \
py3-pyzmq \
py3-requests \
py3-rsa \
py3-typing-extensions \
py3-yaml \
python3 \
python3-dev && \
#
@ -22,6 +33,7 @@ RUN apk -U --no-cache add \
git clone https://github.com/johnnykv/heralding && \
cd heralding && \
git checkout c31f99c55c7318c09272d8d9998e560c3d4de9aa && \
cp /root/dist/requirements.txt . && \
pip3 install --upgrade pip && \
pip3 install --no-cache-dir -r requirements.txt && \
pip3 install --no-cache-dir . && \

View File

@ -0,0 +1,4 @@
aiosmtpd
asyncssh>=2.0.0
pyaml
hpfeeds3

View File

@ -12,8 +12,8 @@ services:
restart: always
tmpfs:
- /tmp/heralding:uid=2000,gid=2000
cpu_count: 1
cpus: 0.25
# cpu_count: 1
# cpus: 0.25
networks:
- heralding_local
ports: