This commit is contained in:
t3chn0m4g3
2022-03-05 00:50:47 +00:00
parent 075551d218
commit 02d4d79a60
7 changed files with 19 additions and 16 deletions

View File

@ -1,10 +1,10 @@
FROM alpine:3.14
FROM alpine:3.15
#
# Include dist
ADD dist/ /root/dist/
COPY dist/ /root/dist/
#
# Get and install dependencies & packages
RUN apk -U add \
RUN apk --no-cache -U add \
bash \
build-base \
git \
@ -15,6 +15,7 @@ RUN apk -U add \
mpfr-dev \
openssl \
openssl-dev \
py3-mysqlclient \
py3-pip \
python3 \
python3-dev && \
@ -60,6 +61,7 @@ RUN apk -U add \
rm -rf /root/* /tmp/* && \
rm -rf /var/cache/apk/* && \
rm -rf /home/cowrie/cowrie/cowrie.pid && \
rm -rf /home/cowrie/cowrie/.git && \
unset PYTHON_DIR
#
# Start cowrie