1
0
mirror of https://github.com/AlexanderSychev/postgresru.git synced 2025-07-11 14:30:10 +02:00

Initial commit

This commit is contained in:
alexander
2020-07-07 15:06:33 +03:00
commit aa461e09e7
2 changed files with 16 additions and 0 deletions

14
12.3-alpine.Dockerfile Normal file
View File

@ -0,0 +1,14 @@
FROM postgres:12.3-alpine
# Install locales
RUN apk --no-cache add ca-certificates wget && \
wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub && \
wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.25-r0/glibc-2.25-r0.apk && \
wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.25-r0/glibc-bin-2.25-r0.apk && \
wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.25-r0/glibc-i18n-2.25-r0.apk && \
apk add glibc-bin-2.25-r0.apk glibc-i18n-2.25-r0.apk glibc-2.25-r0.apk
# Set Russian locale (UTF-8 encoding)
RUN /usr/glibc-compat/bin/localedef -i ru_RU -c -f UTF-8 ru_RU.UTF-8
ENV LANG=ru_RU.UTF-8
ENV LANGUAGE=ru_RU.UTF-8

2
README.md Normal file
View File

@ -0,0 +1,2 @@
# postgresru
PostgreSQL image with Russain Locale. [Published here](https://hub.docker.com/repository/docker/sychev1993/postgresru/general).