Browse Source

optimize dockerfile

Co-authored-by: Copilot <[email protected]>
pull/212/head
Paper-Dragon 12 months ago
committed by GitHub
parent
commit
f53069923b
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      Dockerfile.alpine

2
Dockerfile.alpine

@ -11,7 +11,7 @@ RUN cargo build --release --target x86_64-unknown-linux-musl
## Final image ## Final image
#################################################################################################### ####################################################################################################
FROM alpine:latest 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 COPY --from=builder /worker/target/x86_64-unknown-linux-musl/release/tun2proxy-bin /usr/bin/tun2proxy-bin

Loading…
Cancel
Save