From 1fa373d5df7833f3c7b91535430e2af9cd48edb4 Mon Sep 17 00:00:00 2001 From: nikolamilosa Date: Tue, 10 Sep 2024 16:00:35 +0200 Subject: [PATCH] removing duplicated rye --- docker/runner.Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docker/runner.Dockerfile b/docker/runner.Dockerfile index aabea9446..6aed46429 100644 --- a/docker/runner.Dockerfile +++ b/docker/runner.Dockerfile @@ -87,6 +87,8 @@ USER runner WORKDIR /home/runner SHELL [ "/bin/bash", "-c" ] +RUN source /opt/rye/env + COPY rust-toolchain.toml /usr/src/rust-toolchain.toml # Rust version should align with one in `rust-toolchain.toml` and `WORKSPACE.bazel` @@ -97,6 +99,3 @@ 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 --quiet cargo-zigbuild cargo-deny - -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