mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-26 05:27:31 +02:00
Merge pull request #9 from mcowger/mcowger-cowrie
Add modules and packages required to fully run.
This commit is contained in:
commit
ae628ac30a
@ -1,7 +1,3 @@
|
|||||||
#
|
|
||||||
# Dockerfile for cowrie
|
|
||||||
#
|
|
||||||
|
|
||||||
FROM alpine
|
FROM alpine
|
||||||
MAINTAINER kev <noreply@datageek.info>
|
MAINTAINER kev <noreply@datageek.info>
|
||||||
|
|
||||||
@ -9,7 +5,12 @@ RUN apk add -U curl \
|
|||||||
py-pip \
|
py-pip \
|
||||||
py-twisted \
|
py-twisted \
|
||||||
tar \
|
tar \
|
||||||
&& pip install pyasn1 \
|
gcc \
|
||||||
|
python-dev \
|
||||||
|
musl-dev \
|
||||||
|
libffi-dev \
|
||||||
|
openssl-dev \
|
||||||
|
&& pip install pyasn1 pyOpenSSL service_identity \
|
||||||
&& adduser -D cowrie \
|
&& adduser -D cowrie \
|
||||||
&& cd /home/cowrie \
|
&& cd /home/cowrie \
|
||||||
&& curl -sSL https://github.com/micheloosterhof/cowrie/archive/master.tar.gz | tar xz --strip 1 \
|
&& curl -sSL https://github.com/micheloosterhof/cowrie/archive/master.tar.gz | tar xz --strip 1 \
|
||||||
@ -18,7 +19,7 @@ RUN apk add -U curl \
|
|||||||
&& apk del curl \
|
&& apk del curl \
|
||||||
tar \
|
tar \
|
||||||
&& rm -rf /var/cache/apk/*
|
&& rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
EXPOSE 2222
|
EXPOSE 2222
|
||||||
|
|
||||||
USER cowrie
|
USER cowrie
|
||||||
|
Loading…
x
Reference in New Issue
Block a user