You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: build/README.md
+47-1Lines changed: 47 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,52 @@ This CLI is used in the GitHub Actions workflows in this repository.
19
19
-`smoke-*.yaml` (using the `smoke-test` action in this repository) - Runs a build without pushing and executes `test-project/test.sh` (if present) inside the container to verify that there are no breaking changes to the image when the repository contents are updated.
20
20
-`version-history.yml`: Listens for workflow dispatch events to trigger cgmanifest.json and history markdown generation.
21
21
22
+
## "dev" tagged images
23
+
24
+
In addition to versioned releases, this repository publishes special "dev" tagged image variants. Understanding their purpose and characteristics helps you choose the right image for your needs.
25
+
26
+
### Purpose
27
+
28
+
"dev" images are preview builds generated from the main branch. They provide early access to:
29
+
- Upstream OS package updates
30
+
- New language runtime versions
31
+
- Repository improvements before official releases
32
+
33
+
### Tagging pattern
34
+
35
+
Images receive both generic and specific dev tags:
Weekly automated builds occur every Monday via `push-dev.yml` workflow, ensuring dev images stay current with main branch changes.
44
+
45
+
### Usage recommendations
46
+
47
+
**Use dev images for:**
48
+
- Testing unreleased features
49
+
- Validating upcoming changes
50
+
- Development environments where latest updates are desired
51
+
52
+
**Avoid dev images for:**
53
+
- Production workloads
54
+
- Reproducible CI/CD pipelines
55
+
- Stable development environments
56
+
57
+
**Migration example:**
58
+
```dockerfile
59
+
# Preview/testing
60
+
FROM mcr.microsoft.com/devcontainers/python:dev-3.13
61
+
62
+
# Stable/production
63
+
FROM mcr.microsoft.com/devcontainers/python:3-3.13
64
+
```
65
+
66
+
The versioned tag provides stability while dev tags continuously incorporate changes.
67
+
22
68
## Setting up a container to be built
23
69
24
70
> **Note:** Only @devcontainers/maintainers can currently onboard an image to this process since it requires access the Microsoft Container Registry. [See here for details](https://github.com/microsoft/vscode-internalbacklog/wiki/Remote-Container-Images-MCR-Setup).
@@ -148,7 +194,7 @@ In this case, Debian is also the one that is used for `latest` for the `base` re
148
194
149
195
>**NOTE:** The version number used forthis repository should be keptin sync with the VS Code Remote - Containers extension to make it easy for developers to find.
150
196
151
-
There's a special "dev" version that can be used to build main on CI - I ended up needing this to test and others would if they base an image off of one of the MCR images. e.g. `dev-debian-11`.
197
+
In addition to versioned tags, "dev"tags are also generated for testing purposes. See the ["dev" tagged images](#dev-tagged-images) section for details on their purpose and usage.
0 commit comments