Skip to content

Commit

Permalink
Merge pull request #10 from NGnius/main
Browse files Browse the repository at this point in the history
Fix Rust build on rootless (inaccessible binaries)
  • Loading branch information
TrainDoctor committed May 29, 2024
2 parents 97aad61 + 70beb21 commit 1a29d1c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion languages/rust.dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
FROM ghcr.io/steamdeckhomebrew/holo-base:latest

RUN pacman -Sy --noconfirm rustup && rustup install stable
ENV RUSTUP_HOME=/.rustup
ENV CARGO_HOME=/.cargo

RUN mkdir /.rustup && chmod -R 777 /.rustup
RUN mkdir /.cargo && chmod -R 777 /.cargo
RUN pacman -Sy --noconfirm rustup && rustup install stable

0 comments on commit 1a29d1c

Please sign in to comment.