fix: adjust Dockerfile to ensure proper permissions for shims after installation

This commit is contained in:
2026-03-06 00:43:49 +07:00
parent 600d27cfea
commit d8f7c8fc19

View File

@@ -23,6 +23,7 @@ RUN curl https://mise.run | sh
COPY mise.toml ${TOOLS_DIR}/config/mise.toml
RUN sh -c "\
rm -rf ${TOOLS_DIR}/shims ${TOOLS_DIR}/installs && \
mise install \
rm -rf ${TOOLS_DIR}/shims ${TOOLS_DIR}/installs \
&& mise install \
&& chmod 755 ${TOOLS_DIR}/shims/* \
"