avoid error on docker hub

This commit is contained in:
t3chn0m4g3 2018-11-21 10:06:30 +00:00
parent ece169dd76
commit 9a834c5607

View file

@ -4,23 +4,23 @@ FROM alpine
ADD dist/ /root/dist/ ADD dist/ /root/dist/
# Setup apt # Setup apt
RUN apk -U --no-cache add \ RUN apk -U add \
build-base \ build-base \
file \ file \
git \ git \
libev \ libev \
libtool \ libtool \
libcap \ libcap \
libxslt \ libxslt \
libxslt-dev \ libxslt-dev \
mariadb-dev \ mariadb-dev \
pkgconfig \ pkgconfig \
python3 \ python3 \
python3-dev \ python3-dev \
py-cffi \ py-cffi \
py-cryptography \ py-cryptography \
tcpdump \ tcpdump \
wget && \ wget && \
# Setup ConPot # Setup ConPot
git clone --depth=1 https://github.com/mushorg/conpot /opt/conpot && \ git clone --depth=1 https://github.com/mushorg/conpot /opt/conpot && \
@ -66,6 +66,7 @@ RUN apk -U --no-cache add \
py-cffi \ py-cffi \
wget && \ wget && \
rm -rf /root/* && \ rm -rf /root/* && \
rm -rf /tmp/* && \
rm -rf /var/cache/apk/* rm -rf /var/cache/apk/*
# Start conpot # Start conpot