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 \
linux-headers \
@ -14,7 +15,7 @@ RUN apk -U --no-cache add \
# Setup Snare
git clone --depth=1 https://github.com/mushorg/snare /opt/snare && \
cd /opt/snare/ && \
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 && \
cd / && \