Add iptables to Dockerfile dependencies

This commit is contained in:
Theodore Chang 2026-03-30 04:15:17 +02:00 committed by GitHub
parent d25251e374
commit 4bb6d0111b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -31,9 +31,9 @@ RUN if [ ! -e /etc/nsswitch.conf ]; then echo 'hosts: files dns' > /etc/nsswitch
# commands, this will cause the build process to become very slow.
RUN set -ex \
&& apk upgrade \
&& apk add bash tzdata ca-certificates \
&& apk add bash tzdata ca-certificates iptables \
&& rm -rf /var/cache/apk/*
COPY --from=builder /go/bin/hysteria /usr/local/bin/hysteria
ENTRYPOINT ["hysteria"]
ENTRYPOINT ["hysteria"]