Skip to content

Alpine Docker images no longer include the tzdata package in 3.0 #125

@MichaelSimons

Description

@MichaelSimons

Alpine Docker images no longer include the tzdata package in 3.0

Beginning with the 3.0 release, the tzdata package has been removed from all Alpine Docker images.

Discussion

You can share your thoughts on this change or see what others are saying at:

dotnet/dotnet-docker#1366

Details

This package was removed because it wasn't required for the main set of scenarios and to have consistency between the runtime-deps images across all Linux distros. This package is still installed in the 2.x images for Alpine so this will be something to be aware of when migrating from 2.x to 3.0.

You may be impacted by this if you use any of the Alpine images and your code has a dependency on the tzdata package, such as using the System.TimeZoneInfo API. In that case, you'll need to update your Dockerfile to explicitly install the package:

RUN apk add --no-cache tzdata

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions