Skip to content

Add tzdata-legacy to Ubuntu Resolute images#7090

Open
lbussell wants to merge 2 commits intodotnet:nightlyfrom
lbussell:investigate-tzdata-legacy
Open

Add tzdata-legacy to Ubuntu Resolute images#7090
lbussell wants to merge 2 commits intodotnet:nightlyfrom
lbussell:investigate-tzdata-legacy

Conversation

@lbussell
Copy link
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>
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.

1 participant