This commit is contained in:
t3chn0m4g3
2020-02-24 16:43:34 +00:00
parent bd0e6936eb
commit 6bfcf8b1c4
10 changed files with 19 additions and 18 deletions

View File

@ -1,10 +1,11 @@
FROM alpine
FROM alpine:latest
#
# Include dist
ADD dist/ /root/dist/
#
# Setup env and apt
RUN apk -U upgrade && \
RUN sed -i 's/dl-cdn/dl-2/g' /etc/apk/repositories && \
apk -U upgrade && \
apk add build-base \
git \
libffi \
@ -23,7 +24,6 @@ RUN apk -U upgrade && \
cd /opt/ && \
git clone --depth=1 https://github.com/cymmetria/ciscoasa_honeypot && \
cd ciscoasa_honeypot && \
pip3 install --no-cache-dir --upgrade pip && \
pip3 install --no-cache-dir -r requirements.txt && \
cp /root/dist/asa_server.py /opt/ciscoasa_honeypot && \
chown -R ciscoasa:ciscoasa /opt/ciscoasa_honeypot && \

View File

@ -13,7 +13,7 @@ services:
ports:
- "5000:5000/udp"
- "8443:8443"
image: "dtagdevsec/ciscoasa:1903"
image: "dtagdevsec/ciscoasa:2006"
read_only: true
volumes:
- /data/ciscoasa/log:/var/log/ciscoasa