Skip to content

Commit

Permalink
Install Rust toolchain with the "minimal" profile in order to save so…
Browse files Browse the repository at this point in the history
…me more disk space.
  • Loading branch information
danieltrick committed Aug 29, 2024
1 parent a33c539 commit 18e7785
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/).

### Changed
- Install Rust and Cargo to the *default* locations.
- Install Rust toolchain with the `minimal` profile.

## r1 - 2024-08-27

Expand Down
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@ RUN apt-get update \
libclang-dev \
libtss2-dev \
pkg-config \
&& apt-get clean -y
rdfind \
&& rm -vrf /var/lib/apt/lists/* /var/cache/apt/*

# Install Rust
RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain=${RUST_VERSION} -y
RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain=${RUST_VERSION} --profile=minimal -y \
&& rdfind -makeresultsfile false -makesymlinks true /root

# Start the shell
ENTRYPOINT ["/bin/bash", "-l"]
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Ready to use development environment with [Rust/Cargo](https://www.rust-lang.org
Version history
---------------

| **Release** | **Base system** | **Rust toolchain** | **TPM2 Software Stack** |
| --------------- | --------------------- | ------------------ | ----------------------- |
| r2 [2024-08-29] | Debian 12, 2024-08-12 | 1.80.0 | 3.2.1-3 |
| r1 [2024-08-27] | Debian 12, 2024-08-12 | 1.80.0 | 3.2.1-3 |
| **Release** | **Date** | **Base system** | **Rust toolchain** | **TPM2 Software Stack** |
| ----------- | ---------- | --------------------- | ------------------ | ----------------------- |
| r2 | 2024-08-29 | Debian 12, 2024-08-12 | 1.80.0 | 3.2.1-3 |
| r1 | 2024-08-27 | Debian 12, 2024-08-12 | 1.80.0 | 3.2.1-3 |

0 comments on commit 18e7785

Please sign in to comment.