This commit is contained in:
Marco Ochse 2018-03-25 20:58:46 +00:00
parent c9a33870ff
commit 8257ae0a09
4 changed files with 15 additions and 5 deletions

View file

@ -18,7 +18,7 @@ services:
- NET_BIND_SERVICE - NET_BIND_SERVICE
ports: ports:
- "22:2222" - "22:2222"
- "23:2323" - "23:2223"
image: "dtagdevsec/cowrie:1804" image: "dtagdevsec/cowrie:1804"
volumes: volumes:
- /data/cowrie/downloads:/home/cowrie/cowrie/dl - /data/cowrie/downloads:/home/cowrie/cowrie/dl

View file

@ -8,7 +8,6 @@ RUN apk -U upgrade && \
apk add bash \ apk add bash \
build-base \ build-base \
git \ git \
libcap \
libffi-dev \ libffi-dev \
libressl-dev \ libressl-dev \
postgresql-dev \ postgresql-dev \
@ -32,7 +31,15 @@ RUN apk -U upgrade && \
mkdir -p /var/log/heralding/ && \ mkdir -p /var/log/heralding/ && \
# Clean up # Clean up
apk del git && \ apk del --purge \
build-base \
git \
libffi-dev \
libressl-dev \
postgresql-dev \
python3-dev \
py-virtualenv && \
apk add libzmq && \
rm -rf /root/* && \ rm -rf /root/* && \
rm -rf /var/cache/apk/* rm -rf /var/cache/apk/*

View file

@ -6,7 +6,10 @@ ADD dist/ /root/dist/
# Get and install dependencies & packages # Get and install dependencies & packages
RUN apk -U upgrade && \ RUN apk -U upgrade && \
apk add bash nginx nginx-mod-http-headers-more procps && \ apk add bash \
nginx \
nginx-mod-http-headers-more \
procps && \
# Setup configs # Setup configs
mkdir -p /run/nginx && \ mkdir -p /run/nginx && \

View file

@ -40,7 +40,7 @@ services:
- NET_BIND_SERVICE - NET_BIND_SERVICE
ports: ports:
- "22:2222" - "22:2222"
- "23:2323" - "23:2223"
image: "dtagdevsec/cowrie:1804" image: "dtagdevsec/cowrie:1804"
volumes: volumes:
- /data/cowrie/downloads:/home/cowrie/cowrie/dl - /data/cowrie/downloads:/home/cowrie/cowrie/dl