This commit is contained in:
Marco Ochse
2018-03-30 21:47:59 +00:00
parent 5c403a5cce
commit 4ee334aee8
4 changed files with 18 additions and 14 deletions

View File

@ -23,16 +23,16 @@ RUN apk -U upgrade && \
chown -R ciscoasa:ciscoasa /opt/ciscoasa_honeypot && \
# Clean up
apk del build-base \
git \
libffi-dev \
openssl-dev \
python3-dev && \
apk del --purge build-base \
git \
libffi-dev \
openssl-dev \
python3-dev && \
apk add libffi \
openssl \
python3
# Start elasticsearch-head
WORKDIR /opt/ciscoasa_honeypot
USER ciscoasa
CMD python3 asa_server.py --enable_ssl --verbose > /var/log/ciscoasa/ciscoasa.log 2>&1
USER ciscoasa:ciscoasa
CMD python3 asa_server.py --enable_ssl --verbose >> /var/log/ciscoasa/ciscoasa.log 2>&1