Skip to content

Commit

Permalink
feat: Add Dockerfile for Rust 1.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cbluebird committed Sep 6, 2024
1 parent cb86aae commit df21f85
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Language/rust/rust1.8.0/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM ghcr.io/labring-actions/devbox/debian-ssh:d8f335

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 && \
rm -rf /var/lib/apt/lists/*

# Set Rust environment variables
ENV PATH=/root/.cargo/bin:$PATH

0 comments on commit df21f85

Please sign in to comment.