mirror of
https://github.com/telekom-security/tpotce.git
synced 2026-05-29 17:24:15 +00:00
update adbhoney to latest alpine base image
This commit is contained in:
parent
98e9d6bde8
commit
d709cfd1fd
1 changed files with 3 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
|||
FROM alpine:3.20 AS builder
|
||||
FROM alpine:3.23 AS builder
|
||||
#
|
||||
# Include dist
|
||||
COPY dist/ /root/dist/
|
||||
|
|
@ -18,13 +18,13 @@ RUN apk --no-cache -U upgrade && \
|
|||
# Install adbhoney from git
|
||||
git clone https://github.com/t3chn0m4g3/ADBHoney /opt/adbhoney && \
|
||||
cd /opt/adbhoney && \
|
||||
git checkout 42a73cd8a82ddd4d137de70ac37b1a8b2e3e0119 && \
|
||||
git checkout e03c608a662e381e645a3641d2286e80db006591 && \
|
||||
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 && \
|
||||
pyinstaller adbhoney.spec
|
||||
#
|
||||
FROM alpine:3.20
|
||||
FROM alpine:3.23
|
||||
RUN apk --no-cache -U upgrade
|
||||
COPY --from=builder /opt/adbhoney/dist/adbhoney/ /opt/adbhoney/
|
||||
#
|
||||
|
|
|
|||
Loading…
Reference in a new issue