mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2024-12-14 10:13:05 +02:00
Set encoding to UTF8 for Debian documentation containers.
This allows testing multi-byte encodings in PostgreSQL.
This commit is contained in:
parent
382ddfd79d
commit
1706c599bd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user