Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: removing duplicated rye in runner #905

Merged
merged 1 commit into from
Sep 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading