We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7eeec7d commit 73a45bfCopy full SHA for 73a45bf
image/Dockerfile
@@ -78,9 +78,12 @@ RUN usermod -a -G docker dojo
78
COPY etc_dojo.d/scripts/* /etc/dojo.d/scripts/
79
COPY inputrc /etc/inputrc
80
81
-RUN apk add rustup
82
-RUN rustup-init -y
83
-ENV PATH "$PATH:/root/.cargo/bin"
+RUN apk add rustup build-base
+ENV RUSTUP_HOME /opt/rust
+ENV CARGO_HOME /opt/rust
84
+RUN rustup-init -y --no-modify-path
85
+RUN ln -s /opt/rust/bin/rustup /usr/local/bin/rustup
86
+RUN ln -s /opt/rust/bin/cargo /usr/local/bin/cargo
87
RUN rustup target add x86_64-unknown-linux-gnu
88
RUN which cargo
89
0 commit comments