feat: run mise install at build time via RUN instead of CMD

This commit is contained in:
2026-03-04 21:19:29 +07:00
parent c2f5e78837
commit 92d2639a12

View File

@@ -22,7 +22,7 @@ RUN curl https://mise.run | sh
COPY mise.toml ${TOOLS_DIR}/config/mise.toml
CMD ["sh", "-c", "\
RUN sh -c "\
rm -rf ${TOOLS_DIR}/shims ${TOOLS_DIR}/installs && \
mise install \
"]
"