Skip to content

Commit

Permalink
bugfix: Update Rust Dockerfile to include cargo environment setup
Browse files Browse the repository at this point in the history
  • Loading branch information
cbluebird committed Sep 9, 2024
1 parent caffb90 commit f80ca8c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Language/rust/rust1.8.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && \
apt-get install -y build-essential && \
apt-get clean && \
echo 'export PATH=/root/.cargo/bin:$PATH' >> /home/sealos/.bashrc && \
echo 'source /root/.cargo/env' >> /home/sealos/.bashrc && \
rm -rf /var/lib/apt/lists/*

0 comments on commit f80ca8c

Please sign in to comment.