-
Notifications
You must be signed in to change notification settings - Fork 20
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
feat: add tzdata #266
feat: add tzdata #266
Conversation
Thanks for the contribution! Do you think you're able to make a test for this? Check this file for inspiration: https://github.com/jbergstroem/mariadb-alpine/blob/main/test/config.sh You'd essentially set TZ and then check that its properly set in |
Sure thing, I'll commit later tonight. |
@jbergstroem sorry for taking so long, the included test should work, at least it does on my fork :-) |
Great! will take a look later today. |
Pass timezone info to the runtime container to make MariaDB pick it up: ```bash $ docker run -it -e "TZ=CET" jbergstroem/mariadb-alpine ``` PR: #266
Thanks a lot for your contribution! |
Thanks for including the patch... i had a compose stack running where the app was complaining that the DB was one hour off (CET vs. UTC). It was working, but the permanent error in the status bar was annoying and irritating for customers... :-) |
I will update the latest image shortly. |
|
so the container can be setup to use different timezones via the TZ ENV Variable