mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-01 12:32:12 +00:00
bump heralding to 1.0.7 and rebuild for alpine 1.13
This commit is contained in:
parent
5fe59c3bd8
commit
69c535619d
3 changed files with 27 additions and 4 deletions
|
@ -1,11 +1,10 @@
|
||||||
FROM alpine:3.12.1
|
FROM alpine:3.13
|
||||||
#
|
#
|
||||||
# Include dist
|
# Include dist
|
||||||
ADD dist/ /root/dist/
|
ADD dist/ /root/dist/
|
||||||
#
|
#
|
||||||
# Install packages
|
# Install packages
|
||||||
RUN sed -i 's/dl-cdn/dl-2/g' /etc/apk/repositories && \
|
RUN apk -U --no-cache add \
|
||||||
apk -U --no-cache add \
|
|
||||||
build-base \
|
build-base \
|
||||||
git \
|
git \
|
||||||
libcap \
|
libcap \
|
||||||
|
@ -13,7 +12,9 @@ RUN sed -i 's/dl-cdn/dl-2/g' /etc/apk/repositories && \
|
||||||
openssl-dev \
|
openssl-dev \
|
||||||
libzmq \
|
libzmq \
|
||||||
postgresql-dev \
|
postgresql-dev \
|
||||||
|
py3-cryptography \
|
||||||
py3-pip \
|
py3-pip \
|
||||||
|
py3-pyzmq \
|
||||||
python3 \
|
python3 \
|
||||||
python3-dev \
|
python3-dev \
|
||||||
py-virtualenv && \
|
py-virtualenv && \
|
||||||
|
@ -23,7 +24,7 @@ RUN sed -i 's/dl-cdn/dl-2/g' /etc/apk/repositories && \
|
||||||
cd /opt/ && \
|
cd /opt/ && \
|
||||||
git clone https://github.com/johnnykv/heralding && \
|
git clone https://github.com/johnnykv/heralding && \
|
||||||
cd heralding && \
|
cd heralding && \
|
||||||
git checkout 9e9e9218f053c515ebb234667fb5575e6154ffa5 && \
|
git checkout 3f38976a2ab4d884d755b6324f2c71923ddadbdb && \
|
||||||
pip3 install --no-cache-dir -r requirements.txt && \
|
pip3 install --no-cache-dir -r requirements.txt && \
|
||||||
pip3 install --no-cache-dir . && \
|
pip3 install --no-cache-dir . && \
|
||||||
#
|
#
|
||||||
|
|
21
docker/heralding/dist/heralding.yml
vendored
21
docker/heralding/dist/heralding.yml
vendored
|
@ -62,6 +62,7 @@ capabilities:
|
||||||
timeout: 30
|
timeout: 30
|
||||||
protocol_specific_data:
|
protocol_specific_data:
|
||||||
max_attempts: 3
|
max_attempts: 3
|
||||||
|
banner: "+OK POP3 server ready"
|
||||||
|
|
||||||
pop3s:
|
pop3s:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
@ -69,6 +70,7 @@ capabilities:
|
||||||
timeout: 30
|
timeout: 30
|
||||||
protocol_specific_data:
|
protocol_specific_data:
|
||||||
max_attempts: 3
|
max_attempts: 3
|
||||||
|
banner: "+OK POP3 server ready"
|
||||||
# if a .pem file is not found in work dir, a new pem file will be created
|
# if a .pem file is not found in work dir, a new pem file will be created
|
||||||
# using these values
|
# using these values
|
||||||
cert:
|
cert:
|
||||||
|
@ -157,6 +159,25 @@ capabilities:
|
||||||
# If the fqdn option is commented out or empty, then fqdn of the host will be used
|
# If the fqdn option is commented out or empty, then fqdn of the host will be used
|
||||||
fqdn: ""
|
fqdn: ""
|
||||||
|
|
||||||
|
smtps:
|
||||||
|
enabled: true
|
||||||
|
port: 465
|
||||||
|
timeout: 30
|
||||||
|
protocol_specific_data:
|
||||||
|
banner: "Microsoft ESMTP MAIL service ready"
|
||||||
|
# If the fqdn option is commented out or empty, then fqdn of the host will be used
|
||||||
|
fqdn: ""
|
||||||
|
cert:
|
||||||
|
common_name: "*"
|
||||||
|
country: "US"
|
||||||
|
state: None
|
||||||
|
locality: None
|
||||||
|
organization: None
|
||||||
|
organizational_unit: None
|
||||||
|
# how many days should the certificate be valid for
|
||||||
|
valid_days: 365
|
||||||
|
serial_number: 0
|
||||||
|
|
||||||
vnc:
|
vnc:
|
||||||
enabled: true
|
enabled: true
|
||||||
port: 5900
|
port: 5900
|
||||||
|
|
|
@ -23,6 +23,7 @@ services:
|
||||||
- "110:110"
|
- "110:110"
|
||||||
- "143:143"
|
- "143:143"
|
||||||
- "443:443"
|
- "443:443"
|
||||||
|
- "465:465"
|
||||||
- "993:993"
|
- "993:993"
|
||||||
- "995:995"
|
- "995:995"
|
||||||
- "1080:1080"
|
- "1080:1080"
|
||||||
|
|
Loading…
Reference in a new issue