Skip to content

feat: configure en_US.UTF-8 locale in Debian images#576

Merged
iloveitaly merged 3 commits into
railwayapp:mainfrom
iloveitaly:en-us-locale
Jun 9, 2026
Merged

feat: configure en_US.UTF-8 locale in Debian images#576
iloveitaly merged 3 commits into
railwayapp:mainfrom
iloveitaly:en-us-locale

Conversation

@iloveitaly

@iloveitaly iloveitaly commented Jun 1, 2026

Copy link
Copy Markdown
Collaborator

Motivation

Build and runtime containers lacked a generated UTF-8 locale, which breaks or warns for apps that depend on locale-aware behavior (for example Python or Ruby). This aligns our default build containers with Heroku, which provides LANG=en_US.UTF-8 in their images by default.

Description

Generate en_US.UTF-8 in the Debian builder and runtime images at image build time so the locale is available without changing default process environment. Railpack still does not set LANG or LC_ALL; users opt in via deploy.variables or their platform's env config, as documented in the architecture overview and config reference.

Test

  • mise run check
  • Snapshot tests (updated pnpm-corepack-runtime-usage plan for current mise image tags)
  • Rebuild builder/runtime images and run integration tests that exercise locale-sensitive builds (for example Ruby or Elixir examples) if validating the image change end-to-end

@iloveitaly iloveitaly changed the title en us locale feat: configure en_US.UTF-8 locale in Debian images Jun 1, 2026
@iloveitaly iloveitaly merged commit 5d577d4 into railwayapp:main Jun 9, 2026
234 of 235 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.

2 participants