Skip to content

Commit 48e4a78

Browse files
vody105f3l1x
authored andcommitted
Added postgres 14
1 parent a22843d commit 48e4a78

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

14/Dockerfile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
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

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ build-10: _build-10
22
build-11: _build-11
33
build-12: _build-12
44
build-13: _build-13
5+
build-14: _build-14
56

67
_build-%: BUILD_VERSION=$*
78
_build-%:

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Postgres
22

3-
Tuned PostgreSQL 10/11/12/13 docker image.
3+
Tuned PostgreSQL 10/11/12/13/14 docker image.
44

55
- extensions unaccent, intarray
66
- configured czech language
@@ -16,11 +16,12 @@ Tuned PostgreSQL 10/11/12/13 docker image.
1616

1717
## Versions
1818

19-
- PostgreSQL 10/11/12/13
19+
- PostgreSQL 10/11/12/13/14
2020

2121
## Usage
2222

2323
```sh
24+
docker run --rm -it -p 5432:5432 dockette/postgres:14
2425
docker run --rm -it -p 5432:5432 dockette/postgres:13
2526
docker run --rm -it -p 5432:5432 dockette/postgres:12
2627
docker run --rm -it -p 5432:5432 dockette/postgres:11
@@ -45,4 +46,4 @@ Thank you for inspiration.
4546

4647
Other resources.
4748

48-
- https://postgres.cz/wiki/Instalace_PostgreSQL#Instalace_Fulltextu
49+
- https://postgres.cz/wiki/Instalace_PostgreSQL#Instalace_Fulltextu

0 commit comments

Comments
 (0)