Skip to content

feat: include tzdata by default in build and runtime images#580

Merged
iloveitaly merged 2 commits into
railwayapp:mainfrom
iloveitaly:tzdata-by-default
Jun 9, 2026
Merged

feat: include tzdata by default in build and runtime images#580
iloveitaly merged 2 commits into
railwayapp:mainfrom
iloveitaly:tzdata-by-default

Conversation

@iloveitaly

@iloveitaly iloveitaly commented Jun 4, 2026

Copy link
Copy Markdown
Collaborator

Motivation

Railpack runtime images did not include timezone data by default. Go apps relied on the Golang provider to add tzdata as a runtime apt package, while other stacks had no consistent way to resolve named timezones (for example via TZ or libraries that read the zoneinfo database).

Description

Install tzdata in the shared Debian build and runtime base images so every Railpack build and deploy image has zoneinfo available without per-language apt steps.

Remove the Golang provider's dedicated tzdata runtime apt package; CGO builds still add libc6 when needed. Go example build-plan snapshots are updated to drop the redundant runtime apt layer.

Test

  • Updated Go example build-plan snapshots (go-mod, go-cmd-dirs, go-workspaces)
  • mise run check
  • Rebuild Debian base images so integration tests pick up the new packages

- Install tzdata in both build and runtime Docker images to ensure timezone support is available.
- Update the Golang provider to ensure tzdata is added as a default apt package for Go applications.

Generated-by: aiautocommit
@iloveitaly iloveitaly changed the title feat: add tzdata to build and runtime iamges feat: include tzdata by default in build and runtime images Jun 4, 2026
@iloveitaly iloveitaly merged commit 257e74c into railwayapp:main Jun 9, 2026
232 checks passed
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