Skip to content

Commit c762b6a

Browse files
[Rust]- Add support for debian trixie(13) (#360)
* [Rust]- Add support for debian trixie(13) * rust-postgres
1 parent ed6ae81 commit c762b6a

6 files changed

Lines changed: 11 additions & 9 deletions

File tree

src/rust-postgres/.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/devcontainers/rust:1-1-${templateOption:imageVariant}
1+
FROM mcr.microsoft.com/devcontainers/rust:2-1-${templateOption:imageVariant}
22

33
# Include lld linker to improve build times either by using environment variable
44
# RUSTFLAGS="-C link-arg=-fuse-ld=lld" or with Cargo's configuration file (i.e see .cargo/config.toml).

src/rust-postgres/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Develop applications with Rust and PostgreSQL. Includes a Rust application conta
77

88
| Options Id | Description | Type | Default Value |
99
|-----|-----|-----|-----|
10-
| imageVariant | Debian OS version (use bookworm, or bullseye on local arm64/Apple Silicon): | string | bullseye |
10+
| imageVariant | Debian OS version (use trixie, bookworm, or bullseye on local arm64/Apple Silicon): | string | trixie |
1111

1212
This template references an image that was [pre-built](https://containers.dev/implementors/reference/#prebuilding) to automatically include needed devcontainer.json metadata.
1313

src/rust-postgres/devcontainer-template.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"id": "rust-postgres",
3-
"version": "4.0.2",
3+
"version": "5.0.0",
44
"name": "Rust & PostgreSQL",
55
"description": "Develop applications with Rust and PostgreSQL. Includes a Rust application container and PostgreSQL server.",
66
"documentationURL": "https://github.com/devcontainers/templates/tree/main/src/rust-postgres",
@@ -11,10 +11,11 @@
1111
"type": "string",
1212
"description": "Debian OS version (use bookworm, or bullseye on local arm64/Apple Silicon):",
1313
"proposals": [
14+
"trixie",
1415
"bookworm",
1516
"bullseye"
1617
],
17-
"default": "bullseye"
18+
"default": "trixie"
1819
}
1920
},
2021
"platforms": [

src/rust/.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{
44
"name": "Rust",
55
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6-
"image": "mcr.microsoft.com/devcontainers/rust:1-1-${templateOption:imageVariant}"
6+
"image": "mcr.microsoft.com/devcontainers/rust:2-1-${templateOption:imageVariant}"
77

88
// Use 'mounts' to make the cargo cache persistent in a Docker Volume.
99
// "mounts": [

src/rust/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Develop Rust based applications. Includes appropriate runtime args and everythin
77

88
| Options Id | Description | Type | Default Value |
99
|-----|-----|-----|-----|
10-
| imageVariant | Debian OS version (use bookworm, or bullseye on local arm64/Apple Silicon): | string | bullseye |
10+
| imageVariant | Debian OS version (use trixie, bookworm, or bullseye on local arm64/Apple Silicon): | string | trixie |
1111

1212
This template references an image that was [pre-built](https://containers.dev/implementors/reference/#prebuilding) to automatically include needed devcontainer.json metadata.
1313

src/rust/devcontainer-template.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"id": "rust",
3-
"version": "4.0.2",
3+
"version": "5.0.0",
44
"name": "Rust",
55
"description": "Develop Rust based applications. Includes appropriate runtime args and everything you need to get up and running.",
66
"documentationURL": "https://github.com/devcontainers/templates/tree/main/src/rust",
@@ -9,12 +9,13 @@
99
"options": {
1010
"imageVariant": {
1111
"type": "string",
12-
"description": "Debian OS version (use bookworm, or bullseye on local arm64/Apple Silicon):",
12+
"description": "Debian OS version (use trixie, bookworm, or bullseye on local arm64/Apple Silicon):",
1313
"proposals": [
14+
"trixie",
1415
"bookworm",
1516
"bullseye"
1617
],
17-
"default": "bullseye"
18+
"default": "trixie"
1819
}
1920
},
2021
"platforms": ["Rust"],

0 commit comments

Comments
 (0)