Skip to content

Commit

Permalink
link toolchain for root user
Browse files Browse the repository at this point in the history
  • Loading branch information
mrk-its committed Jan 1, 2023
1 parent 20c65d8 commit ea73965
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docker/rust-mos/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,9 @@ RUN rustup default mos
ENV RUST_TARGET_PATH=/home/mos/rust-mos-target
RUN mkdir $RUST_TARGET_PATH
RUN python3 /usr/local/src/rust-mos/create_mos_targets.py $RUST_TARGET_PATH

USER root
RUN rustup toolchain link mos /usr/local/rust-mos
RUN rustup default mos

USER mos

0 comments on commit ea73965

Please sign in to comment.