File tree Expand file tree Collapse file tree 3 files changed +17
-3
lines changed Expand file tree Collapse file tree 3 files changed +17
-3
lines changed Original file line number Diff line number Diff line change
1
+ FROM postgres:14
2
+
3
+ ENV LC_ALL=cs_CZ.UTF-8
4
+ ENV LANG=cs_CZ.UTF-8
5
+ ENV LANGUAGE=cs_CZ.UTF-8
6
+ ENV TZ=Europe/Prague
7
+ ENV POSTGRES_VERSION=14
8
+
9
+ COPY ./shared/misc/czech /usr/share/postgresql/${POSTGRES_VERSION}/tsearch_data
10
+ COPY ./shared/init-scripts/* /docker-entrypoint-initdb.d/
11
+
12
+ RUN localedef -i cs_CZ -c -f UTF-8 -A /usr/share/locale/locale.alias cs_CZ.UTF-8
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ build-10: _build-10
2
2
build-11 : _build-11
3
3
build-12 : _build-12
4
4
build-13 : _build-13
5
+ build-14 : _build-14
5
6
6
7
_build-% : BUILD_VERSION=$*
7
8
_build-% :
Original file line number Diff line number Diff line change 1
1
# Postgres
2
2
3
- Tuned PostgreSQL 10/11/12/13 docker image.
3
+ Tuned PostgreSQL 10/11/12/13/14 docker image.
4
4
5
5
- extensions unaccent, intarray
6
6
- configured czech language
@@ -16,11 +16,12 @@ Tuned PostgreSQL 10/11/12/13 docker image.
16
16
17
17
## Versions
18
18
19
- - PostgreSQL 10/11/12/13
19
+ - PostgreSQL 10/11/12/13/14
20
20
21
21
## Usage
22
22
23
23
``` sh
24
+ docker run --rm -it -p 5432:5432 dockette/postgres:14
24
25
docker run --rm -it -p 5432:5432 dockette/postgres:13
25
26
docker run --rm -it -p 5432:5432 dockette/postgres:12
26
27
docker run --rm -it -p 5432:5432 dockette/postgres:11
@@ -45,4 +46,4 @@ Thank you for inspiration.
45
46
46
47
Other resources.
47
48
48
- - https://postgres.cz/wiki/Instalace_PostgreSQL#Instalace_Fulltextu
49
+ - https://postgres.cz/wiki/Instalace_PostgreSQL#Instalace_Fulltextu
You can’t perform that action at this time.
0 commit comments