begin prep for move to GitHub Container Registry

Start pinning Dockerfiles to specific releases / commits
This commit is contained in:
listbot
2020-09-02 15:18:32 +00:00
parent 9a7f55bb52
commit 1ac79d6be7
13 changed files with 53 additions and 49 deletions

View File

@ -1,4 +1,4 @@
FROM alpine:latest
FROM alpine:3.12
#
# Include dist
ADD dist/ /root/dist/
@ -13,7 +13,9 @@ RUN sed -i 's/dl-cdn/dl-2/g' /etc/apk/repositories && \
python3-dev && \
#
# Install adbhoney from git
git clone --depth=1 https://github.com/huuck/ADBHoney /opt/adbhoney && \
git clone https://github.com/huuck/ADBHoney /opt/adbhoney && \
cd /opt/adbhoney && \
git checkout ad7c17e78d01f6860d58ba826a4b6a4e4f83acbd && \
cp /root/dist/adbhoney.cfg /opt/adbhoney && \
sed -i 's/dst_ip/dest_ip/' /opt/adbhoney/adbhoney/core.py && \
sed -i 's/dst_port/dest_port/' /opt/adbhoney/adbhoney/core.py && \