Skip to content

Commit 9cf5801

Browse files
liborm85f3l1x
authored andcommitted
Added Postgres 15, 16, 17
1 parent 8bac83d commit 9cf5801

File tree

6 files changed

+48
-3
lines changed

6 files changed

+48
-3
lines changed

.github/workflows/docker.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ jobs:
1515
- { version: "12", folder: "12" }
1616
- { version: "13", folder: "13" }
1717
- { version: "14", folder: "14" }
18-
- { version: "latest", folder: "14" }
18+
- { version: "15", folder: "15" }
19+
- { version: "16", folder: "16" }
20+
- { version: "17", folder: "17" }
21+
- { version: "latest", folder: "17" }
1922

2023
fail-fast: false
2124

15/Dockerfile

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

16/Dockerfile

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

17/Dockerfile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
FROM postgres:17
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=17
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: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ build-11: _build-11
33
build-12: _build-12
44
build-13: _build-13
55
build-14: _build-14
6+
build-15: _build-15
7+
build-16: _build-16
8+
build-17: _build-17
69

710
_build-%: BUILD_VERSION=$*
811
_build-%:

README.md

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

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

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

1717
## Versions
1818

19-
- PostgreSQL 10/11/12/13/14
19+
- PostgreSQL 10/11/12/13/14/15/16/17
2020

2121
## Usage
2222

2323
```sh
24+
docker run --rm -it -p 5432:5432 dockette/postgres:17
25+
docker run --rm -it -p 5432:5432 dockette/postgres:16
26+
docker run --rm -it -p 5432:5432 dockette/postgres:15
2427
docker run --rm -it -p 5432:5432 dockette/postgres:14
2528
docker run --rm -it -p 5432:5432 dockette/postgres:13
2629
docker run --rm -it -p 5432:5432 dockette/postgres:12

0 commit comments

Comments
 (0)