Skip to content

Commit e821e1f

Browse files
lczykalesancor1
andauthored
feat: onboard rust 1.84_25.04 (#643)
* feat: init * feat: add rust rock 1.84 * feat: update sha * feat: update path * Update oci/rust/documentation.yaml Co-authored-by: Alejandro Santisteban <alex.santisteban@canonical.com> --------- Co-authored-by: Alejandro Santisteban <alex.santisteban@canonical.com>
1 parent 9802d1f commit e821e1f

3 files changed

Lines changed: 58 additions & 0 deletions

File tree

oci/rust/contacts.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
notify:
2+
emails:
3+
- rocks-dev@lists.canonical.com
4+
mattermost-channels:
5+
- fbdezwkcxpfofpysjore1wpfoc
6+
maintainers:
7+
- alesancor1
8+
- lczyk

oci/rust/documentation.yaml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
version: 1
2+
3+
application: Rust
4+
is_chiselled: true
5+
description: |
6+
Rust is a modern memory-safe systems programming language focused on
7+
performance and reliability.
8+
9+
This image is a chiselled Ubuntu rock based on Ubuntu 25.04. It contains
10+
a minimal Rust 1.84 toolchain and Cargo build system which can be used to
11+
build a wide variety of Rust applications. It also includes a minimal
12+
GCC toolchain to custom build steps in Cargo builds.
13+
14+
Any additional dependencies can be either mounted at runtime or installed
15+
with the apt installation included in this rock.
16+
17+
debug:
18+
text: |
19+
### Debugging
20+
21+
To get a shell inside the container:
22+
23+
```bash
24+
docker run -it --rm ubuntu/rust:1.84-25.04_edge sh
25+
```
26+
27+
To mount a directory with your Rust project and build it with Cargo:
28+
29+
```bash
30+
docker run -it --rm \
31+
-v /path/to/your/rust/project:/work \
32+
--workdir /work \
33+
ubuntu/rust:1.84-25.04_edge \
34+
cargo build --release
35+
```
36+
37+
override_tracks:
38+
# Tracks with different tag than build-base
39+
1.84-25.04:
40+
end-of-life: '2026-01-15T00:00:00Z'

oci/rust/image.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: 1
2+
upload:
3+
- source: canonical/rust-rock
4+
commit: da07225ba02d5241e122918cbb85fb6db7384b46
5+
directory: rust/1.84-25.04
6+
release:
7+
1.84-25.04:
8+
end-of-life: "2026-01-15T00:00:00Z"
9+
risks:
10+
- edge

0 commit comments

Comments
 (0)