From 37e1276b01b81d4bb40c09bb1f8833d70cdf5e65 Mon Sep 17 00:00:00 2001 From: Night Date: Sun, 25 Oct 2026 10:49:01 +1100 Subject: [PATCH 1/3] fix: dev container starts on hosts without /etc/timezone * generated projects no longer bind-mount /etc/timezone, which only Debian-based hosts have * the dev container, and the CI that runs inside it, now starts on GitHub runners and other hosts without it * local time still comes from the host's /etc/localtime --- template/.devcontainer/devcontainer.json.jinja | 1 - 1 file changed, 1 deletion(-) diff --git a/template/.devcontainer/devcontainer.json.jinja b/template/.devcontainer/devcontainer.json.jinja index 2b5d4ef..d3df70c 100644 --- a/template/.devcontainer/devcontainer.json.jinja +++ b/template/.devcontainer/devcontainer.json.jinja @@ -19,7 +19,6 @@ "mounts": [ "type=bind,source=/etc/localtime,target=/etc/localtime,readonly", - "type=bind,source=/etc/timezone,target=/etc/timezone,readonly", "source=${localWorkspaceFolder}/.devcontainer/.bash_history,target=/home/vscode/.bash_history,type=bind,consistency=cached" ], } From 976b24f97b9c4bb95e3c623499470a3e46ad56e8 Mon Sep 17 00:00:00 2001 From: Night Date: Sun, 25 Oct 2026 10:49:01 +1100 Subject: [PATCH 2/3] chore: version v2.1.1 --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 1defe53..826e142 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v2.1.0 +v2.1.1 From 4cab0d7e022f3700585c3d2e9fe5353e454843f5 Mon Sep 17 00:00:00 2001 From: Night Date: Sun, 25 Oct 2026 10:49:01 +1100 Subject: [PATCH 3/3] docs: changelog for fix/devcontainer-timezone * CHANGELOG.md records the fix; the README does not describe the mounts, so it is unchanged --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 17d7f23..1b4c8c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,3 +9,4 @@ * feature/github-ci: generated projects ship the shared GitHub CI, a VERSION file and the shared Renovate settings, which copier update leaves alone. * feature/makefile: generated projects ship a Makefile with build, format, format-dry-run, test and release targets in place of run.sh, with make in the dev container and the shared CI calling make. * feature/root-answers-file: generated projects keep their Copier answers in `.copier-py-answers.yml` at the root rather than in `.copier-generic-project/`; existing projects move the file once before their next update. +* fix/devcontainer-timezone: the dev container, and CI with it, starts on hosts that have no /etc/timezone.