Iperf3 Test

This commit is contained in:
2025-07-07 19:46:00 +05:30
parent 3f917ae793
commit b12506c03a
2 changed files with 9 additions and 14 deletions

View File

@@ -1,8 +1,10 @@
FROM caddy:2.10.0-builder AS builder
FROM debian:bookworm-slim
RUN xcaddy build \
--with github.com/hslatman/caddy-crowdsec-bouncer/http
RUN apt-get update \
&& apt-get install -y iperf3 \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
FROM caddy:2.10.0
EXPOSE 5201
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
ENTRYPOINT ["iperf3"]