fix: mimo not found

This commit is contained in:
tao.chen
2026-07-16 16:51:49 +08:00
parent 15359e391e
commit 481bdf789a
+4 -1
View File
@@ -69,8 +69,11 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
curl \
ca-certificates \
&& rm -rf /var/lib/apt/lists/* \
&& curl -fsSL https://mimo.xiaomi.com/install | bash
&& curl -fsSL https://mimo.xiaomi.com/install | bash \
&& mimo --version
RUN M_PATH=$(find /root -name "mimo" -type f -executable | head -n 1) \
&& if [ -n "$M_PATH" ]; then ln -s "$M_PATH" /usr/bin/mimo; fi
RUN mimo --version
COPY skills /root/.config/mimocode/skills