fix: install mise to /usr/local/bin in release Dockerfile
Use MISE_INSTALL_PATH to place mise on the default PATH, fixing "mise: not found" in Docker builds.
This commit is contained in:
@@ -7,8 +7,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Install mise
|
# Install mise
|
||||||
|
ENV MISE_INSTALL_PATH="/usr/local/bin/mise"
|
||||||
RUN curl https://mise.run | sh
|
RUN curl https://mise.run | sh
|
||||||
ENV PATH="/root/.local/bin:${PATH}"
|
|
||||||
|
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
COPY mise.toml .
|
COPY mise.toml .
|
||||||
|
|||||||
Reference in New Issue
Block a user