cowrie: fix Dockerfile

This commit is contained in:
Wonderfall
2017-03-27 11:07:37 +02:00
parent 0259a68ed4
commit dc3ca7df2f
2 changed files with 8 additions and 13 deletions

View File

@ -15,4 +15,7 @@ mkdir -p /cowrie/log/tty
cp -R /cowrie/custom/* /cowrie
chown -R $UID:$GID /cowrie
COWRIEDIR=$(dirname $0)
export PYTHONPATH=${PYTHONPATH}:${COWRIEDIR}
exec su-exec $UID:$GID /sbin/tini -- twistd -n -l /cowrie/log/cowrie.log cowrie