Kardbord / Kard-bot

A Discord bot destined for greatness
GNU Affero General Public License v3.0
1 stars 0 forks source link

Docker container system date/time is not correct on 32-bit hosts #57

Closed Kardbord closed 2 years ago

Kardbord commented 2 years ago

The alpine image used as a base image is not compatible with some 32 bit hosts. This can be fixed by following various workarounds, but it would be nice if the kardbot image worked out of the box.

Kardbord commented 2 years ago

Testing a workaround in #58 by embedding tzdata in the binary and reading TZ from the environment. See https://stackoverflow.com/a/64769139.

Kardbord commented 2 years ago

Note that #58 introduces the possibility of race conditions... So far from a perfect fix.