Locale fixed for client in docker

This commit is contained in:
Vitaly Samigullin 2017-10-03 18:33:52 +03:00 committed by alexey-milovidov
parent 097357799d
commit 6e8f4c6fec

View File

@ -8,8 +8,13 @@ RUN apt-get update && \
mkdir -p /etc/apt/sources.list.d && \
echo $repository | tee /etc/apt/sources.list.d/clickhouse.list && \
apt-get update && \
apt-get install --allow-unauthenticated -y clickhouse-client=$version && \
apt-get install --allow-unauthenticated -y clickhouse-client=$version locales && \
rm -rf /var/lib/apt/lists/* /var/cache/debconf && \
apt-get clean
RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
ENTRYPOINT ["/usr/bin/clickhouse-client"]