chore: docker add mise hook

This commit is contained in:
engigu
2026-03-23 21:20:35 +08:00
parent c448cd747b
commit 2660d156f0
4 changed files with 38 additions and 0 deletions
+3
View File
@@ -147,7 +147,10 @@ COPY docker/docker-entrypoint.sh .
# Copy agent binaries to /opt/agent
COPY --from=agent-builder /opt/agent /opt/agent
COPY docker/mise-hook.sh /etc/profile.d/mise-hook.sh
RUN chmod +x docker-entrypoint.sh \
&& cat /etc/profile.d/mise-hook.sh >> /etc/bash.bashrc \
&& echo "set encoding=utf-8" >> /etc/vim/vimrc \
&& ln -sf /app/baihu /usr/local/bin/baihu