rebuild snare, tanner

This commit is contained in:
t3chn0m4g3
2020-01-03 14:06:29 +00:00
parent 0928e37326
commit 3713139fc6
4 changed files with 13 additions and 10 deletions

View File

@ -1,10 +1,11 @@
FROM alpine
FROM alpine:3.10
#
# Include dist
ADD dist/ /root/dist/
#
# Setup apt
RUN apk -U --no-cache add \
RUN sed -i 's/dl-cdn/dl-2/g' /etc/apk/repositories && \
apk -U --no-cache add \
build-base \
git \
libcap \
@ -19,7 +20,7 @@ RUN apk -U --no-cache add \
git clone --depth=1 https://github.com/mushorg/tanner /opt/tanner && \
cp /root/dist/config.py /opt/tanner/tanner/ && \
cd /opt/tanner/ && \
pip3 install --no-cache-dir --upgrade pip setuptools && \
pip3 install --no-cache-dir setuptools && \
pip3 install --no-cache-dir -r requirements.txt && \
python3 setup.py install && \
rm -rf .coveragerc \