We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2db2769 commit 7444a84Copy full SHA for 7444a84
.dockerignore
@@ -0,0 +1 @@
1
+*
Dockerfile
@@ -0,0 +1,23 @@
+FROM ubuntu:jammy
2
+
3
+RUN apt-get update && apt-get install -y --no-install-recommends \
4
+ build-essential \
5
+ ca-certificates \
6
+ cmake \
7
+ curl \
8
+ git \
9
+ ninja-build \
10
+ openssh-client \
11
+ && apt-get clean
12
13
+ENV RUSTUP_HOME=/usr/local/rustup \
14
+ CARGO_HOME=/usr/local/cargo \
15
+ PATH=/usr/local/cargo/bin:$PATH
16
17
+RUN curl https://static.rust-lang.org/rustup/dist/x86_64-unknown-linux-gnu/rustup-init --output /tmp/rustup-init \
18
+ && chmod +x ./tmp/rustup-init \
19
+ && /tmp/rustup-init -y \
20
+ --default-toolchain=stable \
21
+ --profile=default \
22
+ && rm /tmp/rustup-init \
23
+ && chmod -R a+w $RUSTUP_HOME $CARGO_HOME \
0 commit comments