docker
docker copied to clipboard
Missing tzdata in 2.10+ images
Since 2.10.0, if one need to operate with timezone names, then he needs to preinstall tzdata package as binary dependency before running corresponding Tarantool operations, otherwise Tarantool fails to parse timezone name:
tarantool> _TARANTOOL
---
- 2.10.0-1-g370040ca1
...
tarantool> require"datetime".TZ["Europe/Moscow"]
---
- 947
...
tarantool> require("datetime").new{ timestamp = os.time(), tz = 'Europe/Moscow' }
---
- error: 'builtin/datetime.lua:479: could not parse ''Europe/Moscow'''
...
i.e. we need to add tzdata package to all Alpine, Ubuntu, etc. docker images.
Relates to tarantool/tarantool#8238