fix: install mise to /usr/local/bin in release Dockerfile
Some checks failed
continuous-integration/drone/push Build encountered an error
Release / release (push) Failing after 6s

Use MISE_INSTALL_PATH to place mise on the default PATH, fixing
"mise: not found" in Docker builds.
This commit is contained in:
2026-03-20 15:30:11 +01:00
parent e10ff5d9fc
commit b8424d595b

View File

@@ -7,8 +7,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
# Install mise
ENV MISE_INSTALL_PATH="/usr/local/bin/mise"
RUN curl https://mise.run | sh
ENV PATH="/root/.local/bin:${PATH}"
WORKDIR /build
COPY mise.toml .