Skip to content

A platform for community discussion. Free, open, simple.

DEV: Use the `release` tag for the devcontainer image (#45402)

David Taylor937c097b559d
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
index 076a66d885a..ceb85074df9 100644
--- a/.devcontainer/devcontainer.json
+++ b/.devcontainer/devcontainer.json
@@ -1,6 +1,6 @@
{
"name": "Discourse",
- "image": "docker.io/discourse/discourse_dev:20261026-0138",
+ "image": "docker.io/discourse/discourse_dev:release",
"workspaceMount": "source=${localWorkspaceFolder},target=/workspace/discourse,type=bind",
"workspaceFolder": "/workspace/discourse",
"postStartCommand": "./.devcontainer/scripts/start.rb",
diff --git a/docs/developer-guides/docs/02-development-environments/01-devcontainer.md b/docs/developer-guides/docs/02-development-environments/01-devcontainer.md
index d1f055eccb7..195bb064901 100644
--- a/docs/developer-guides/docs/02-development-environments/01-devcontainer.md
+++ b/docs/developer-guides/docs/02-development-environments/01-devcontainer.md
@@ -46,7 +46,9 @@ Once the test dependencies are installed, you can run [`bin/lint`](https://meta.
## Applying config/container updates
-Every so often, the devcontainer config and the associated container image will be updated. VSCode should prompt you to "rebuild" to apply the changes. Alternatively, you can run "Dev Containers: Rebuild Container" from the VSCode command palette. The working directory, and your Redis/Postgres data will be preserved across rebuilds.
+Every so often, the devcontainer config will be updated. VSCode should prompt you to "rebuild" to apply the changes. Alternatively, you can run "Dev Containers: Rebuild Container" from the VSCode command palette. The working directory, and your Redis/Postgres data will be preserved across rebuilds.
+
+The container image uses the `release` tag, so VSCode will not prompt you when a new image is published. To update it, run `docker pull discourse/discourse_dev:release` and then rebuild the container. In GitHub Codespaces, run "Codespaces: Full Rebuild Container" instead.
If you'd like to start from scratch with fresh database, you'll need to delete the `discourse-pg` and `discourse-redis` docker volumes. This can be done from the "Remote Explorer" tab of the VSCode sidebar.