We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Right now, we can not declare a environment (ENV) varialbe to set timezone My idea is:
apk add tzdata set ENV localTime America/Los_Angeles RUN cp /usr/share/zoneinfo/${localTime} /etc/localtime but I could not figure it out how to make it run in the dockerfile
The alternating method is: create container first by docker pull/docker run and then docker enter to the container. do the following:
apk add -U tzdata cp /usr/share/zoneinfo/America/Los_Angeles /etc/localtime
Hope someone can make it into dockerfile.
The text was updated successfully, but these errors were encountered:
Thanks for purposing!
I believe setting timezone is a necessary feature that Wechaty Docker Image should support.
Sorry, something went wrong.
Support to set TZ for timezone at Wechaty version 0.13.13 or above at: 61c277c
TZ
Usage:
docker run -e TZ='Asia/Shanghai' zixia/wechaty
No branches or pull requests
Right now, we can not declare a environment (ENV) varialbe to set timezone
My idea is:
The alternating method is:
create container first by docker pull/docker run and then docker enter to the container.
do the following:
Hope someone can make it into dockerfile.
The text was updated successfully, but these errors were encountered: