From a4deeec3b0596868fd409f6d57ee98733ec9dd56 Mon Sep 17 00:00:00 2001 From: Youyuan <83439858+Yuanandcircle@users.noreply.github.com> Date: Wed, 9 Oct 2024 09:47:30 +0800 Subject: [PATCH] fix: add dependencies for docker image Mihomo with `auto-route` enabled cannot work in docker image due to missing dependencies. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 67d4a6e5..27ada2d6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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/"]