prevent cowrie from unwanted log rotation

This commit is contained in:
t3chn0m4g3 2020-07-07 00:00:57 +00:00
parent 6d29f504df
commit 8af45c9440

View file

@ -33,7 +33,7 @@ RUN sed -i 's/dl-cdn/dl-2/g' /etc/apk/repositories && \
cd /home/cowrie && \
git clone --depth=1 https://github.com/micheloosterhof/cowrie -b v2.1.0 && \
cd cowrie && \
sed -i s/logfile.DailyLogFile/logfile.LogFile/g src/cowrie/output/jsonlog.py && \
sed -i s/logfile.DailyLogFile/logfile.LogFile/g src/cowrie/python/logfile.py && \
mkdir -p log && \
cp /root/dist/requirements.txt . && \
pip3 install -r requirements.txt && \