fix: add dependencies for docker image

Mihomo with `auto-route` enabled cannot work in docker image due to missing dependencies.
This commit is contained in:
Youyuan 2024-10-09 09:47:30 +08:00 committed by GitHub
parent 9fd63fe938
commit a4deeec3b0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,7 +17,7 @@ RUN FILE_NAME=`sh file-name.sh` && echo $FILE_NAME && \
FROM alpine:latest
LABEL org.opencontainers.image.source="https://github.com/MetaCubeX/mihomo"
RUN apk add --no-cache ca-certificates tzdata iptables
RUN apk add --no-cache ca-certificates tzdata iptables nftables iproute2
VOLUME ["/root/.config/mihomo/"]