You've already forked postgresru
mirror of
https://github.com/AlexanderSychev/postgresru.git
synced 2025-07-11 14:30:10 +02:00
Initial commit
This commit is contained in:
14
12.3-alpine.Dockerfile
Normal file
14
12.3-alpine.Dockerfile
Normal 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
|
Reference in New Issue
Block a user