Generate en_US.UTF-8 in base container image to remove shell locale warnings#285
Open
Generate en_US.UTF-8 in base container image to remove shell locale warnings#285
en_US.UTF-8 in base container image to remove shell locale warnings#285Conversation
Agent-Logs-Url: https://github.com/mieweb/opensource-server/sessions/17a4315c-9cec-43b7-91bf-a4df10d3d71d Co-authored-by: horner <6094599+horner@users.noreply.github.com>
Agent-Logs-Url: https://github.com/mieweb/opensource-server/sessions/17a4315c-9cec-43b7-91bf-a4df10d3d71d Co-authored-by: horner <6094599+horner@users.noreply.github.com>
Agent-Logs-Url: https://github.com/mieweb/opensource-server/sessions/17a4315c-9cec-43b7-91bf-a4df10d3d71d Co-authored-by: horner <6094599+horner@users.noreply.github.com>
Agent-Logs-Url: https://github.com/mieweb/opensource-server/sessions/17a4315c-9cec-43b7-91bf-a4df10d3d71d Co-authored-by: horner <6094599+horner@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix locale errors on every shell in the containers
Generate Apr 14, 2026
en_US.UTF-8 in base container image to remove shell locale warnings
runleveldev
requested changes
Apr 15, 2026
Agent-Logs-Url: https://github.com/mieweb/opensource-server/sessions/ca272b90-95c5-4613-a6a9-9dc80f7be444 Co-authored-by: runleveldev <44057501+runleveldev@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Shell sessions in containers were inheriting
LANG/LC_* = en_US.UTF-8without the locale being generated, producing repeatedsetlocalewarnings on login. Since LXC instances are built from this image, the root cause is image-level locale provisioning.Base image locale provisioning
/images/base/Dockerfileto installlocalesin the base layer.en_US.UTF-8is present in/etc/locale.gen.LANG=en_US.UTF-8.Resulting behavior
en_US.utf8locale data by default.LC_CTYPE/LC_COLLATEwarnings when environment variables are set toen_US.UTF-8.Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
download.proxmox.com/usr/bin/curl curl REDACTED(dns block)If you need me to access, download, or install something from one of these locations, you can either: