mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-28 10:41:12 +00:00
Since cqlsh requires UTF-8 locale, we should configure default locale correctly, on both directly executed shell with docker and via SSH. (Directly executed shell means "docker exec -ti <image> /bin/bash") For SSH, we need to set correct parameter on /etc/default/locale, which can set by update-locale command. However, directly executed shell won't load this parameter, because it configured at PAM but we skip login on this case. To fix this issue, we also need to set locale variables on container image configuration (ENV in Dockerfile, --env in buildah). Fixes #9570 Closes #9587