Skip to content

Commit

Permalink
Revert "feat: yurthub automatically recognize nftables or iptables (#…
Browse files Browse the repository at this point in the history
…1135) (#1327)" (#1354)

This reverts commit 9d0f316.
  • Loading branch information
rambohe-ch authored Apr 3, 2023
1 parent 49219cc commit 1802826
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 212 deletions.
2 changes: 0 additions & 2 deletions hack/dockerfiles/build/Dockerfile.yurthub
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,4 @@ ARG TARGETOS TARGETARCH MIRROR_REPO
RUN if [ ! -z "${MIRROR_REPO+x}" ]; then sed -i "s/dl-cdn.alpinelinux.org/${MIRROR_REPO}/g" /etc/apk/repositories; fi && \
apk add ca-certificates bash libc6-compat iptables ip6tables && update-ca-certificates && rm /var/cache/apk/*
COPY ./_output/local/bin/${TARGETOS}/${TARGETARCH}/yurthub /usr/local/bin/yurthub
COPY hack/iptables-wrapper-installer.sh /
RUN chmod +x /iptables-wrapper-installer.sh && /iptables-wrapper-installer.sh
ENTRYPOINT ["/usr/local/bin/yurthub"]
2 changes: 0 additions & 2 deletions hack/dockerfiles/release/Dockerfile.yurthub
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,4 @@ ARG TARGETOS TARGETARCH MIRROR_REPO
RUN if [ ! -z "${MIRROR_REPO+x}" ]; then sed -i "s/dl-cdn.alpinelinux.org/${MIRROR_REPO}/g" /etc/apk/repositories; fi && \
apk add ca-certificates bash libc6-compat iptables ip6tables && update-ca-certificates && rm /var/cache/apk/*
COPY --from=builder /build/_output/local/bin/${TARGETOS}/${TARGETARCH}/yurthub /usr/local/bin/yurthub
COPY hack/iptables-wrapper-installer.sh /
RUN chmod +x /iptables-wrapper-installer.sh && /iptables-wrapper-installer.sh
ENTRYPOINT ["/usr/local/bin/yurthub"]
208 changes: 0 additions & 208 deletions hack/iptables-wrapper-installer.sh

This file was deleted.

0 comments on commit 1802826

Please sign in to comment.