From 92d2639a12b0929f39ee45561a3fd2b1cd1ba4a4 Mon Sep 17 00:00:00 2001 From: Cesar Flores Date: Wed, 4 Mar 2026 21:19:29 +0700 Subject: [PATCH] feat: run mise install at build time via RUN instead of CMD --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1f4e08c..2a1c3a2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \ -"] +"