Skip to content

Add tzdata-legacy to Ubuntu Resolute images#7090

Merged
lbussell merged 2 commits into
dotnet:nightlyfrom
lbussell:investigate-tzdata-legacy
Mar 17, 2026
Merged

Add tzdata-legacy to Ubuntu Resolute images#7090
lbussell merged 2 commits into
dotnet:nightlyfrom
lbussell:investigate-tzdata-legacy

Conversation

@lbussell
Copy link
Copy Markdown
Member

The tzdata-legacy condition in the non-chiseled Dockerfile template was hardcoded to OS_VERSION_BASE = "noble". When Resolute (26.04) was added for .NET 11, the condition didn't match, so tzdata-legacy was silently dropped. This was originally fixed in #6078.

This PR changes the condition to install tzdata-legacy on all Ubuntu versions except Jammy, matching the pattern already used in the chiseled template.

Fixes #7087

@lbussell lbussell requested a review from a team as a code owner March 17, 2026 01:11
The tzdata-legacy condition in the non-chiseled Dockerfile template was
hardcoded to OS_VERSION_BASE = "noble". When Resolute (26.04) was added
for .NET 11, the condition didn't match, so tzdata-legacy was silently
dropped. This caused TimeZoneInfo.FindSystemTimeZoneById to fail for
legacy timezone IDs like 'FLE Standard Time' (Europe/Kiev).

Change the condition to install tzdata-legacy on all Ubuntu versions
except Jammy, matching the pattern already used in the chiseled template.

Fixes dotnet#7087

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@lbussell lbussell force-pushed the investigate-tzdata-legacy branch from 3b11b69 to 592c642 Compare March 17, 2026 01:26
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@lbussell lbussell merged commit 15c0ab0 into dotnet:nightly Mar 17, 2026
119 checks passed
@lbussell lbussell deleted the investigate-tzdata-legacy branch March 17, 2026 14:46
@github-actions github-actions Bot added the needs-backport PR that should be backported to another branch label Mar 17, 2026
lbussell added a commit to lbussell/dotnet-docker that referenced this pull request Apr 7, 2026
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
(cherry picked from commit 15c0ab0)
@lbussell lbussell removed the needs-backport PR that should be backported to another branch label Apr 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants