-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"ltime" converter does not reflect container timezone #217
Comments
Does HAProxy intentionally support the |
HA Proxy needs to be able to get timezone data from the OS, which is provided by the Setting the Creating
but this obviously still requires the |
Right, sorry, let me be more specific -- is this an intentional feature of HAProxy, or an incidental one? How common of a use case is it to use "local time" within HAProxy? My references to In general, we avoid adding things to images we maintain which are not in common or explicit upstream recommended usage especially because it's easy for end users to install, but if we pre-install it, it's very difficult for them to remove (due to the nature of container image layering). |
I would say this is intentional. I do understand the need to keep containers as simple as possible. In my opinion, an image should include all OS packages required to run the core service, so this HAProxy docker image is broken without the The HA Proxy feature ltime seems to require
Without I think the best solution is to add |
ltime reports the server timezone as UTC regardless of what is set as the
TZ
environment variable in the container.Adding the
tzdata
package to the image appears to resolve this issue.The text was updated successfully, but these errors were encountered: