Add mss clamping

This commit is contained in:
Owen Schwartz
2025-01-19 17:19:09 -05:00
parent 5d4faaff65
commit 24e993ee41
2 changed files with 95 additions and 0 deletions

View File

@@ -18,6 +18,8 @@ RUN CGO_ENABLED=0 GOOS=linux go build -o /gerbil
# Start a new stage from scratch
FROM ubuntu:22.04 AS runner
RUN apt-get update && apt-get install -y iptables iproute2 && rm -rf /var/lib/apt/lists/*
# Copy the pre-built binary file from the previous stage and the entrypoint script
COPY --from=builder /gerbil /usr/local/bin/
COPY entrypoint.sh /