tarantool / docker

Docker images for tarantool database
https://hub.docker.com/r/tarantool/tarantool
52 stars 25 forks source link

Missing tzdata in 2.10+ images #252

Open tsafin opened 1 year ago

tsafin commented 1 year ago

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.

tsafin commented 1 year ago

Relates to tarantool/tarantool#8238