From 02bdc8194a02fe5cb645f95c00cbb340fd750b09 Mon Sep 17 00:00:00 2001 From: t3chn0m4g3 Date: Thu, 21 Nov 2019 13:56:38 +0000 Subject: [PATCH] bump adbhoney to latest master with py3 support --- docker/adbhoney/Dockerfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docker/adbhoney/Dockerfile b/docker/adbhoney/Dockerfile index de1acf48..20c0d111 100644 --- a/docker/adbhoney/Dockerfile +++ b/docker/adbhoney/Dockerfile @@ -4,11 +4,11 @@ FROM alpine ADD dist/ /root/dist/ # # Install packages -RUN apk -U --no-cache add \ +RUN apk -U add \ git \ libcap \ - python \ - python-dev && \ + python3 \ + python3-dev && \ # # Install adbhoney from git git clone --depth=1 https://github.com/huuck/ADBHoney /opt/adbhoney && \ @@ -20,11 +20,11 @@ RUN apk -U --no-cache add \ addgroup -g 2000 adbhoney && \ adduser -S -H -s /bin/ash -u 2000 -D -g 2000 adbhoney && \ chown -R adbhoney:adbhoney /opt/adbhoney && \ - setcap cap_net_bind_service=+ep /usr/bin/python2.7 && \ + setcap cap_net_bind_service=+ep /usr/bin/python3.7 && \ # # Clean up apk del --purge git \ - python-dev && \ + python3-dev && \ rm -rf /root/* && \ rm -rf /var/cache/apk/* # @@ -32,4 +32,4 @@ RUN apk -U --no-cache add \ STOPSIGNAL SIGINT USER adbhoney:adbhoney WORKDIR /opt/adbhoney/ -CMD nohup /usr/bin/python run.py +CMD nohup /usr/bin/python3 run.py