Skip to content

Commit

Permalink
chore: removing duplicated rye in runner (#905)
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaMilosa authored Sep 10, 2024
1 parent 4c857b6 commit 648de3a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docker/runner.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand All @@ -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

0 comments on commit 648de3a

Please sign in to comment.