Skip to content

Commit 6338e57

Browse files
[typescript-node] Add support for debian trixie(13) (#1548)
* Adding support for debian trixie * re-trigger * change in the version * made changes to manifest file --------- Co-authored-by: Álvaro Rausell Guiard <[email protected]>
1 parent 3dca5f1 commit 6338e57

File tree

3 files changed

+34
-15
lines changed

3 files changed

+34
-15
lines changed

src/typescript-node/.devcontainer/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
ARG VARIANT=24-bookworm
2-
FROM mcr.microsoft.com/devcontainers/javascript-node:3-${VARIANT}
1+
2+
ARG VARIANT=24-trixie
3+
FROM mcr.microsoft.com/devcontainers/javascript-node:4-${VARIANT}
34

45
# Install tslint, typescript. eslint is installed by javascript image
56
ARG NODE_MODULES="tslint-to-eslint-config typescript"

src/typescript-node/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
| *Categories* | Core, Languages |
1010
| *Image type* | Dockerfile |
1111
| *Published image* | mcr.microsoft.com/devcontainers/typescript-node |
12-
| *Available image variants* | 24 / 24-bookworm, 22 / 22-bookworm, 20 / 20-bookworm, 24-bullseye, 22-bullseye, 20-bullseye ([full list](https://mcr.microsoft.com/v2/devcontainers/typescript-node/tags/list)) |
12+
| *Available image variants* | 24 /24-trixie, 22 / 22-trixie, 20 / 20-trixie, 24-bookworm, 22-bookworm, 20-bookworm, 24-bullseye, 22-bullseye, 20-bullseye ([full list](https://mcr.microsoft.com/v2/devcontainers/typescript-node/tags/list)) |
1313
| *Published image architecture(s)* | x86-64, arm64/aarch64 for `bookworm`, and `bullseye` variants |
1414
| *Container host OS support* | Linux, macOS, Windows |
1515
| *Container OS* | Debian |
@@ -20,17 +20,17 @@
2020
You can directly reference pre-built versions of `Dockerfile` by using the `image` property in `.devcontainer/devcontainer.json` or updating the `FROM` statement in your own `Dockerfile` to one of the following. An example `Dockerfile` is included in this repository.
2121

2222
- `mcr.microsoft.com/devcontainers/typescript-node` (latest)
23-
- `mcr.microsoft.com/devcontainers/typescript-node:24` (or `24-bookworm`, `24-bullseye` to pin to an OS version)
24-
- `mcr.microsoft.com/devcontainers/typescript-node:22` (or `22-bookworm`, `22-bullseye` to pin to an OS version)
25-
- `mcr.microsoft.com/devcontainers/typescript-node:20` (or `20-bookworm`, `20-bullseye` to pin to an OS version)
23+
- `mcr.microsoft.com/devcontainers/typescript-node:24` (or `24-trixie`, `24-bookworm`, `24-bullseye` to pin to an OS version)
24+
- `mcr.microsoft.com/devcontainers/typescript-node:22` (or `22-trixie`, `22-bookworm`, `22-bullseye` to pin to an OS version)
25+
- `mcr.microsoft.com/devcontainers/typescript-node:20` (or `20-trixie`, `20-bookworm`, `20-bullseye` to pin to an OS version)
2626

2727
Refer to [this guide](https://containers.dev/guide/dockerfile) for more details.
2828

2929
You can decide how often you want updates by referencing a [semantic version](https://semver.org/) of each image. For example:
3030

31-
- `mcr.microsoft.com/devcontainers/typescript-node:3-24` (or `3-24-bookworm`, `3-24-bullseye`)
32-
- `mcr.microsoft.com/devcontainers/typescript-node:3.0-24` (or `3.0-24-bookworm`, `3.0-24-bullseye`)
33-
- `mcr.microsoft.com/devcontainers/typescript-node:3.0.2-24` (or `3.0.2-24-bookworm`, `3.0.2-24-bullseye`)
31+
- `mcr.microsoft.com/devcontainers/typescript-node:4-24` (or `4-24-trixie`, `4-24-bookworm`, `4-24-bullseye`)
32+
- `mcr.microsoft.com/devcontainers/typescript-node:4.0-24` (or `4.0-24-trixie`, `4.0-24-bookworm`, `4.0-24-bullseye`)
33+
- `mcr.microsoft.com/devcontainers/typescript-node:4.0.0-24` (or `4.0.0-24-trixie`, `4.0.0-24-bookworm`, `4.0.0-24-bullseye`)
3434

3535
However, we only do security patching on the latest [non-breaking, in support](https://github.com/devcontainers/images/issues/90) versions of images (e.g. `3-24`). You may want to run `apt-get update && apt-get upgrade` in your Dockerfile if you lock to a more specific version to at least pick up OS security updates.
3636

src/typescript-node/manifest.json

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
{
2-
"version": "3.0.3",
2+
"version": "4.0.0",
33
"variants": [
4+
"24-trixie",
5+
"22-trixie",
6+
"20-trixie",
47
"24-bookworm",
58
"22-bookworm",
69
"20-bookworm",
@@ -9,10 +12,22 @@
912
"20-bullseye"
1013
],
1114
"build": {
12-
"latest": "24-bookworm",
15+
"latest": "24-trixie",
1316
"rootDistro": "debian",
1417
"parent": "javascript-node",
1518
"architectures": {
19+
"24-trixie": [
20+
"linux/amd64",
21+
"linux/arm64"
22+
],
23+
"22-trixie": [
24+
"linux/amd64",
25+
"linux/arm64"
26+
],
27+
"20-trixie": [
28+
"linux/amd64",
29+
"linux/arm64"
30+
],
1631
"24-bookworm": [
1732
"linux/amd64",
1833
"linux/arm64"
@@ -42,16 +57,19 @@
4257
"typescript-node:${VERSION}-${VARIANT}"
4358
],
4459
"variantTags": {
45-
"24-bookworm": [
60+
"24-trixie": [
4661
"typescript-node:${VERSION}-24",
47-
"typescript-node:${VERSION}-bookworm"
62+
"typescript-node:${VERSION}-trixie"
4863
],
49-
"22-bookworm": [
64+
"22-trixie": [
5065
"typescript-node:${VERSION}-22"
5166
],
52-
"20-bookworm": [
67+
"20-trixie": [
5368
"typescript-node:${VERSION}-20"
5469
],
70+
"24-bookworm": [
71+
"typescript-node:${VERSION}-bookworm"
72+
],
5573
"24-bullseye": [
5674
"typescript-node:${VERSION}-bullseye"
5775
]

0 commit comments

Comments
 (0)