Skip to content

Commit

Permalink
Fix Rust build on rootless (inaccessible binaries)
Browse files Browse the repository at this point in the history
  • Loading branch information
NGnius committed Apr 24, 2024
1 parent 97aad61 commit 70beb21
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 70beb21

Please sign in to comment.