File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ RUN npm install -g npm@latest node-gyp yarn
55
55
56
56
# Rust
57
57
RUN curl https://sh.rustup.rs -sSf | sudo -E bash -s -- -y
58
- RUN echo '. "$HOME/.cargo/env"' >> ~/.bashrc
58
+ RUN echo '. "$HOME/.cargo/env"' > /etc/profile.d/cargo-env.sh
59
59
60
60
# Install docker client
61
61
RUN sudo mkdir -m 0755 -p /etc/apt/keyrings
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ RUN npm install -g npm@latest node-gyp yarn
55
55
56
56
# Rust
57
57
RUN curl https://sh.rustup.rs -sSf | sudo -E bash -s -- -y
58
- RUN echo '. "$HOME/.cargo/env"' >> ~/.bashrc
58
+ RUN echo '. "$HOME/.cargo/env"' > /etc/profile.d/cargo-env.sh
59
59
60
60
# Install docker client
61
61
RUN sudo mkdir -m 0755 -p /etc/apt/keyrings
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ RUN python --version
80
80
81
81
# Rust
82
82
RUN curl https://sh.rustup.rs -sSf | sudo -E bash -s -- -y
83
- RUN echo '. "$HOME/.cargo/env"' >> ~/.bashrc
83
+ RUN echo '. "$HOME/.cargo/env"' > /etc/profile.d/cargo-env.sh
84
84
85
85
# Install docker client
86
86
RUN sudo mkdir -m 0755 -p /etc/apt/keyrings
You can’t perform that action at this time.
0 commit comments