mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-01 04:22:11 +00:00
cowrie, test reduce build times
This commit is contained in:
parent
f39b371d6b
commit
96d5986407
3 changed files with 18 additions and 5 deletions
|
@ -6,8 +6,7 @@ RUN apk --no-cache -U add \
|
|||
libcap \
|
||||
openssl \
|
||||
py3-pip \
|
||||
python3 \
|
||||
python3-dev && \
|
||||
python3 && \
|
||||
#
|
||||
pip3 install --no-cache-dir python-json-logger && \
|
||||
#
|
||||
|
@ -33,8 +32,7 @@ RUN apk --no-cache -U add \
|
|||
#
|
||||
# Clean up
|
||||
apk del --purge git \
|
||||
openssl \
|
||||
python3-dev && \
|
||||
openssl && \
|
||||
rm -rf /root/* && \
|
||||
rm -rf /opt/citrixhoneypot/.git && \
|
||||
rm -rf /var/cache/apk/*
|
||||
|
|
|
@ -15,8 +15,20 @@ RUN apk --no-cache -U add \
|
|||
mpfr-dev \
|
||||
openssl \
|
||||
openssl-dev \
|
||||
py3-appdirs \
|
||||
py3-asn1-modules \
|
||||
py3-attrs \
|
||||
py3-bcrypt \
|
||||
py3-cryptography \
|
||||
py3-dateutil \
|
||||
py3-mysqlclient \
|
||||
py3-openssl \
|
||||
py3-packaging \
|
||||
py3-parsing \
|
||||
py3-pip \
|
||||
py3-service_identity \
|
||||
py3-treq \
|
||||
py3-twisted \
|
||||
python3 \
|
||||
python3-dev && \
|
||||
#
|
||||
|
@ -31,7 +43,8 @@ RUN apk --no-cache -U add \
|
|||
cd cowrie && \
|
||||
# git checkout 6b1e82915478292f1e77ed776866771772b48f2e && \
|
||||
mkdir -p log && \
|
||||
sed -i '/packaging.*/d' requirements.txt && \
|
||||
cp /root/dist/requirements.txt . && \
|
||||
#sed -i '/packaging.*/d' requirements.txt && \
|
||||
pip3 install --upgrade pip && \
|
||||
pip3 install -r requirements.txt && \
|
||||
#
|
||||
|
|
2
docker/cowrie/dist/requirements.txt
vendored
Normal file
2
docker/cowrie/dist/requirements.txt
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
configparser==5.2.0
|
||||
tftpy==0.8.2
|
Loading…
Reference in a new issue