Skip to content

Commit

Permalink
chore: Update Rust Dockerfile to install in sealos
Browse files Browse the repository at this point in the history
  • Loading branch information
cbluebird committed Sep 9, 2024
1 parent 75f8ec2 commit 4c6cd21
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 30 deletions.
9 changes: 0 additions & 9 deletions Language/rust/rust1.8.0/Dockerfile

This file was deleted.

13 changes: 13 additions & 0 deletions Language/rust/rust1.81.0/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM ghcr.io/labring-actions/devbox/debian-ssh:d8f335

USER sealos
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y

USER root

RUN apt-get update && \
apt-get install -y build-essential && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
echo 'export PATH=/home/sealos/.cargo/bin:$PATH' >> $HOME/.bashrc && \
echo 'source /home/sealos/.cargo/env' >> $HOME/.bashrc
21 changes: 0 additions & 21 deletions yaml/Language/rust/rust1.8.0/runtime-rust1.8.0.yaml

This file was deleted.

0 comments on commit 4c6cd21

Please sign in to comment.