From df21f856100893b8e9427b5de6b1d85558f8ddd3 Mon Sep 17 00:00:00 2001 From: cbluebird Date: Fri, 6 Sep 2024 13:45:04 +0800 Subject: [PATCH] feat: Add Dockerfile for Rust 1.8.0 --- Language/rust/rust1.8.0/Dockerfile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Language/rust/rust1.8.0/Dockerfile diff --git a/Language/rust/rust1.8.0/Dockerfile b/Language/rust/rust1.8.0/Dockerfile new file mode 100644 index 0000000..9f5869d --- /dev/null +++ b/Language/rust/rust1.8.0/Dockerfile @@ -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 \ No newline at end of file