From f53069923bb079daa87eaa5f81f33b744667f771 Mon Sep 17 00:00:00 2001 From: Paper-Dragon <2678885646@qq.com> Date: Tue, 10 Jun 2025 16:40:15 +0800 Subject: [PATCH] optimize dockerfile Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- Dockerfile.alpine | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.alpine b/Dockerfile.alpine index f947e18..570b819 100644 --- a/Dockerfile.alpine +++ b/Dockerfile.alpine @@ -11,7 +11,7 @@ RUN cargo build --release --target x86_64-unknown-linux-musl ## Final image #################################################################################################### FROM alpine:latest -RUN apk add iproute2 && apk cache clean +RUN apk add --no-cache iproute2 COPY --from=builder /worker/target/x86_64-unknown-linux-musl/release/tun2proxy-bin /usr/bin/tun2proxy-bin