tweaking, cleanup

This commit is contained in:
t3chn0m4g3
2024-12-05 21:12:18 +01:00
parent 2b3a45c800
commit 7f2667cea8
22 changed files with 64 additions and 156 deletions

View File

@ -4,7 +4,8 @@ FROM alpine:3.20 AS builder
COPY dist/ /root/dist/
#
# Install packages
RUN apk --no-cache -U add \
RUN apk --no-cache -U upgrade && \
apk --no-cache -U add \
build-base \
ca-certificates \
git \
@ -42,6 +43,7 @@ RUN pyinstaller elasticpot.py \
--hidden-import output_plugins.jsonlog
#
FROM alpine:3.20
RUN apk --no-cache -U upgrade
COPY --from=builder /opt/elasticpot/dist/ /opt/
COPY --from=builder /opt/elasticpot/responses/ /opt/elasticpot/responses/
COPY --from=builder /root/dist/honeypot.cfg /opt/elasticpot/etc/