|
9 | 9 | | *Categories* | Core, Languages | |
10 | 10 | | *Image type* | Dockerfile | |
11 | 11 | | *Published image* | mcr.microsoft.com/devcontainers/javascript-node | |
12 | | -| *Available image variants* | 20 / 20-bookworm, 18 / 18-bookworm, 20-bullseye, 18-bullseye, 20-buster, 18-buster ([full list](https://mcr.microsoft.com/v2/devcontainers/javascript-node/tags/list)) | |
| 12 | +| *Available image variants* | 22 / 22-bookworm, 20 / 20-bookworm, 18 / 18-bookworm, 20-bullseye, 18-bullseye, 20-buster, 18-buster ([full list](https://mcr.microsoft.com/v2/devcontainers/javascript-node/tags/list)) | |
13 | 13 | | *Published image architecture(s)* | x86-64, arm64/aarch64 for `bookworm`, and `bullseye` variants | |
14 | 14 | | *Container host OS support* | Linux, macOS, Windows | |
15 | 15 | | *Container OS* | Debian | |
|
20 | 20 | 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. |
21 | 21 |
|
22 | 22 | - `mcr.microsoft.com/devcontainers/javascript-node` (latest) |
| 23 | +- `mcr.microsoft.com/devcontainers/javascript-node:22` (or `22-bookworm`, `22-bullseye` to pin to an OS version) |
23 | 24 | - `mcr.microsoft.com/devcontainers/javascript-node:20` (or `20-bookworm`, `20-bullseye`, `20-buster` to pin to an OS version) |
24 | 25 | - `mcr.microsoft.com/devcontainers/javascript-node:18` (or `18-bookworm`, `18-bullseye`, `18-buster` to pin to an OS version) |
25 | 26 |
|
26 | 27 | Refer to [this guide](https://containers.dev/guide/dockerfile) for more details. |
27 | 28 |
|
28 | 29 | You can decide how often you want updates by referencing a [semantic version](https://semver.org/) of each image. For example: |
29 | 30 |
|
30 | | -- `mcr.microsoft.com/devcontainers/typescript-node:1-20` (or `1-20-bookworm`, `1-20-bullseye`, `1-20-buster`) |
31 | | -- `mcr.microsoft.com/devcontainers/typescript-node:1.0-20` (or `1.0-20-bookworm`, `1.0-20-bullseye`, `1.0-20-buster`) |
32 | | -- `mcr.microsoft.com/devcontainers/typescript-node:1.0.3-20` (or `1.0.3-20-bookworm`, `1.0.3-20-bullseye`, `1.0.3-20-buster`) |
| 31 | +- `mcr.microsoft.com/devcontainers/typescript-node:1-22` (or `1-22-bookworm`, `1-22-bullseye`) |
| 32 | +- `mcr.microsoft.com/devcontainers/typescript-node:1.1-22` (or `1.1-22-bookworm`, `1.1-22-bullseye`) |
| 33 | +- `mcr.microsoft.com/devcontainers/typescript-node:1.1.0-22` (or `1.1.0-22-bookworm`, `1.1.0-22-bullseye`) |
33 | 34 |
|
34 | 35 | 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. `1-1.0`). 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. |
35 | 36 |
|
|
0 commit comments