diff --git a/Dockerfile b/Dockerfile index 0eb472c..7c7bb34 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,12 +11,12 @@ RUN apk add --no-cache make git \ FROM alpine:latest LABEL org.opencontainers.image.source="https://github.com/xjasonlyu/tun2socks" -RUN apk add --update --no-cache iptables iproute2 \ - && chmod +x /entrypoint.sh - COPY docker/entrypoint.sh /entrypoint.sh COPY --from=builder /tun2socks /usr/bin/tun2socks +RUN apk add --update --no-cache iptables iproute2 \ + && chmod +x /entrypoint.sh + ENV TUN tun0 ENV ETH eth0 ENV TUN_ADDR=