Skip to content

Commit

Permalink
chore: adding rye to runner image (#867)
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaMilosa authored Sep 5, 2024
1 parent feeec6a commit 9a9cef6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker/runner.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

0 comments on commit 9a9cef6

Please sign in to comment.