diff --git a/doc/xml/user-guide.xml b/doc/xml/user-guide.xml index 49ecc882e..19432dcc8 100644 --- a/doc/xml/user-guide.xml +++ b/doc/xml/user-guide.xml @@ -264,7 +264,7 @@ # Install base packages RUN apt-get update && \ - apt-get install -y sudo ssh wget vim gnupg lsb-release iputils-ping ca-certificates 2>&1 + apt-get install -y sudo ssh wget vim gnupg lsb-release iputils-ping ca-certificates locales 2>&1 # Install CA certificate RUN update-ca-certificates @@ -287,6 +287,12 @@ RUN adduser --disabled-password --gecos "" {[host-user]} && \ echo '%{[host-user]} ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers + # Set UTF8 encoding + RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \ + dpkg-reconfigure --frontend=noninteractive locales && \ + update-locale LANG=en_US.UTF-8 + ENV LANG en_US.UTF-8 + RUN {[minio-client-install]} ENTRYPOINT service ssh restart && bash