File tree Expand file tree Collapse file tree 3 files changed +20
-0
lines changed
Expand file tree Collapse file tree 3 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ RUN <<EOF
4040pkgs=()
4141pkgs+=(ca-certificates) # Enable TLS verification for HTTPS connections by providing trusted root certificates.
4242pkgs+=(binutils-gold) # Required build tool.
43+ pkgs+=(cargo) # Package manager for Rust applications.
4344pkgs+=(curl) # Dependency for tools requiring downloading data.
4445pkgs+=(dpkg-dev) # Required packaging tool.
4546pkgs+=(debhelper) # Required packaging tool.
@@ -54,6 +55,7 @@ pkgs+=(net-tools) # Dependency for debugging network issues.
5455pkgs+=(ninja-build) # Required build tool.
5556pkgs+=(python3-venv) # Python environment management tool.
5657pkgs+=(python3-pip) # Package manager for Python applications.
58+ pkgs+=(rustc) # Rust compiler.
5759pkgs+=(vim) # Text editor.
5860pkgs+=(wget) # Required build tool.
5961apt-get update
Original file line number Diff line number Diff line change @@ -191,6 +191,14 @@ cd ..
191191rm -rf test
192192EOF
193193
194+ # Add rust installation. Native rust package conflicts with gcc
195+ RUN <<EOF
196+ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
197+ . ~/.bashrc
198+ rustc -V
199+ cargo -V
200+ EOF
201+
194202# ===================== CLANG IMAGE =====================
195203FROM base AS clang
196204
@@ -266,3 +274,11 @@ cd test && ./run.sh clang
266274cd ..
267275rm -rf test
268276EOF
277+
278+ # Add rust installation. Native rust package conflicts with gcc
279+ RUN <<EOF
280+ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
281+ . ~/.bashrc
282+ rustc -V
283+ cargo -V
284+ EOF
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ RUN <<EOF
2727pkgs=()
2828pkgs+=(ca-certificates) # Enable TLS verification for HTTPS connections by providing trusted root certificates.
2929pkgs+=(binutils-gold) # Required build tool.
30+ pkgs+=(cargo) # Package manager for Rust applications.
3031pkgs+=(curl) # Dependency for tools requiring downloading data.
3132pkgs+=(dpkg-dev) # Required packaging tool.
3233pkgs+=(file) # Required packaging tool.
@@ -40,6 +41,7 @@ pkgs+=(net-tools) # Dependency for debugging network issues.
4041pkgs+=(ninja-build) # Required build tool.
4142pkgs+=(python3-venv) # Python environment management tool.
4243pkgs+=(python3-pip) # Package manager for Python applications.
44+ pkgs+=(rustc) # Rust compiler.
4345pkgs+=(vim) # Text editor.
4446pkgs+=(wget) # Required build tool.
4547apt-get update
You can’t perform that action at this time.
0 commit comments