From 9a9cef61d3483d2706b9d030a4a7e4d35c6ff1a2 Mon Sep 17 00:00:00 2001 From: Nikola Milosavljevic <73236646+NikolaMilosa@users.noreply.github.com> Date: Thu, 5 Sep 2024 12:41:55 +0200 Subject: [PATCH] chore: adding rye to runner image (#867) --- docker/runner.Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker/runner.Dockerfile b/docker/runner.Dockerfile index 0a0ba5958..2f4dc5193 100644 --- a/docker/runner.Dockerfile +++ b/docker/runner.Dockerfile @@ -85,6 +85,7 @@ ENV _CONTAINERS_USERNS_CONFIGURED="" ENV HOME=/home/runner USER runner WORKDIR /home/runner +SHELL [ "/bin/bash", "-c" ] COPY rust-toolchain.toml /usr/src/rust-toolchain.toml @@ -96,3 +97,6 @@ ENV PATH="$PATH:/home/runner/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/ ENV CARGO_TARGET_X86_64_APPLE_DARWIN_LINKER=rust-lld RUN cargo install cargo-zigbuild + +RUN curl -sSf https://rye.astral.sh/get | RYE_HOME=/home/runner/.rye RYE_VERSION="0.4.0" RYE_INSTALL_OPTION="--yes" bash +RUN source /home/runner/.rye/env