mirror of
https://github.com/hanzoai/pack.git
synced 2026-09-30 23:43:13 +00:00
install mise from script (#392)
This commit is contained in:
@@ -5,12 +5,17 @@ RUN apt-get update && apt-get install -y \
|
||||
git \
|
||||
pkg-config \
|
||||
libssl-dev \
|
||||
curl \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN git clone --branch v2025.12.12 --depth 1 https://github.com/jdx/mise.git /tmp/mise && \
|
||||
cd /tmp/mise && \
|
||||
# RUSTFLAGS="-C opt-level=z -C link-arg=-s -C codegen-units=1" \
|
||||
cargo build --profile release \
|
||||
--config debuginfo=0
|
||||
# RUN git clone --branch v2025.12.12 --depth 1 https://github.com/jdx/mise.git /tmp/mise && \
|
||||
# cd /tmp/mise && \
|
||||
# # RUSTFLAGS="-C opt-level=z -C link-arg=-s -C codegen-units=1" \
|
||||
# cargo build --profile release \
|
||||
# --config debuginfo=0
|
||||
|
||||
RUN cp /tmp/mise/target/release/mise /usr/local/bin/
|
||||
RUN curl https://mise.run | sh \
|
||||
&& /root/.local/bin/mise --version \
|
||||
&& mv /root/.local/bin/mise /usr/local/bin/
|
||||
|
||||
# RUN cp /tmp/mise/target/release/mise /usr/local/bin/
|
||||
|
||||
Reference in New Issue
Block a user