Sign inSign up

kkimurak/sameersbn-postgresql

By kkimurak

Updated 7 days ago

experimental build for sameersbn/postgresql

Image
0

50K+

kkimurak/sameersbn-postgresql repository overview

kkimurak/sameersbn-postgresql

overview

This is a fork of sameersbn/postgresql aiming to provide regular builds and to support sameersbn/gitlab as upstream repository is not updated since last release of 15-20230628.
Changes should be kept to a minimum and pull requests should be sent to upstream whenever appropriate.

Feel free to submit feedback to github issue. Make sure that you have check to see if there is any implementation work already underway in pull request.

Repository: https://github.com/kkimurak/docker-postgresql
(forked from https://github.com/sameersbn/docker-postgresql)

Build / push around 17:30 ~ 19:00 on every Thursday (JST: UTC+0900)

Initially, I created merge requests to merge changes into each major version branch, but this became tedious.
So I created a build script that automatically merges develop branch before building each version. Unless explicitly stated otherwise, changes made to develop are automatically applied to each image.

major notes

  • 2026-08-17: 18.6, 17.11, 16.15, 15.19 and 14.24 will be released on next regular release (planned: 2026-08-20).
    Note that 18.5 is not shipped due to regression on upstream. See release news
  • 2026-06-04: Introduced following change:
  • 2026-04-16: Introduced following change:
    • Redirect output of pg_ctl to file in PG_LOGDIR instead of /dev/null (kkimurak/docker-postgresql#21)
      Logs during user / database / replication user creationcan be seen in /var/log/postgresql/postgresql-{major-version}-internal.log.
      Since the log directory is not specified as a volume, you will need to persist it manually if necessary. Thank you for report and suggestion @th-2021
  • 2026-04-09: Introduced following change:
    • Issue/18 support checksum feature (kkimurak/docker-postgresql#19)
      Now you can use env var PG_ENABLE_CHECKSUMS (true or false) to set checksums status.
      Automatic upgrade also handle checksums status on upgrade source and temporarily updates on destination cluster
  • 2026-02-19: Introduced following changes:
  • 2026-01-22: Introduced following feature:
    • Add unified access to postgresql.conf via prefixed environment variables
      Now you can set all of parameters in postgresql.conf by setting environment variable prefixed with PG_PARAM_.
      See kkimurak/docker-postgresql#14
  • 2025-11-18: Support for postgresql 13.x has ended (2025-11-13: See https://www.postgresql.org/about/news/postgresql-181-177-1611-1515-1420-and-1323-released-3171/).
    Build 20251120 will be the final release that includes 13.x.
  • 2025-11-06: Base image is upgraded from ubuntu:jammy (22.04) to ubuntu:noble (24.04)
  • 2025-09-19: The regular release on 2025-09-25 is expected to support major version :18, but this will be the release date of postgresql-18 itself and may be delayed for testing purposes.
    • 2025-09-25 18:47:00 +0900 (JST): Regular push excluding major version 18
    • 2025-09-26 00:11:00 +0900 (JST): push 18, 18.0, 18.0-1, 18-20250925
  • 2025-07-24: Introduced following changes:
    • Fix IFS parsing (kkimurak/docker-postgresql#11)
      Because functions that modify IFS were nested and the variable IFS_ORG used to store the original IFS was a global variable, the contents of the original IFS were lost. Thank you for report and fix @Re4zOon
  • 2025-07-17: Introduced following changes:
    • Replace awk -F based csv iteration by IFS + built-in for loop (kkimurak/docker-postgresql#9)
      Now DB_NAME and DB_EXTENSION are not splitted whitespace or something unintendently but only by comma. User can include options such as CASCADE to DB_EXTENSION.
    • Add parameter DB_USER_IS_DB_OWNER (boolean) (kkimurak/docker-postgresql#10)
      DB_USER can be an owner of database listed in DB_NAME by setting DB_USER_IS_DB_OWNER to true.
  • 2025-05-18: Illegular push 15, 16 and 17 to support sameersbn/gitlab:18
  • 2025-05-01: First regular push, 13, 14, 15, 16 and 17
  • 2025-04-24: First push, 15 and 16

delay notice

  • 2026-08-13: 40 minutes later than usual due to the Obon holiday in Japan
  • 2026-07-30: 30 minutes later than usual to check "pushed tag not visible" issue on docker hub
  • 2026-03-05: (planned) 5~6 hours later than usual for business trip
    • actual: 3 hours later than usual (21:47 +0900)
  • 2026-02-05: 15 minutes later than usual
  • 2026-01-02: 1 day and 3 hours later than usual, happy new year
  • 2025-11-06: 30 minutes later than usual for base image upgrade
  • 2025-10-16: 5 hours later than usual
  • 2025-10-02: 20 minutes later than usual
  • 2025-09-06: Two days later than usual due to a business trip and a typhoon
  • 2025-08-16: Two days later than usual due to the Obon holiday in Japan
  • 2025-08-07: An hour later than usual (19:50:00 JST)
  • 2025-06-05: Regular push 3-4 hours later than usual (22:45:00 JST)
  • 2025-05-29: The build for this week are suspended as archive.ubuntu.com is temporally in unstable state.
    See https://status.canonical.com/
    • 2025-05-30: Regular push with 1 day delay

version table

There are following variations for image tag:

  • {MAJOR}-{date_YYYYMMDD}
  • {MAJOR}
  • {MAJOR}.{MINOR}
  • {MAJOR}.{MINOR}-{PATCH}

For example, There are :18, :18.1, :18.1-1 (mutable - overwritten if newer image with same version pushed) and :18-20251211 (mostly immutable)

You can check Dockerfile by clicking each major versions.

date in tagbase image131415161718
20260910ubuntu:noble-20260905N/A14.24-115.19-116.15-117.11-118.6-1
20260903ubuntu:noble-20260810N/A14.24-115.19-116.15-117.11-118.6-1
20260827ubuntu:noble-20260810N/A14.24-115.19-116.15-117.11-118.6-1
20260820ubuntu:noble-20260810N/A14.24-115.19-116.15-117.11-118.6-1
20260813ubuntu:noble-20260730.1N/A14.23-115.18-116.14-117.10-118.4-1
20260806ubuntu:noble-20260730.1N/A14.23-115.18-116.14-117.10-118.4-1
20260730ubuntu:noble-20260610N/A14.23-115.18-116.14-117.10-118.4-1
20260723ubuntu:noble-20260610N/A14.23-115.18-116.14-117.10-118.4-1
20260716ubuntu:noble-20260610N/A14.23-115.18-116.14-117.10-118.4-1
20260709ubuntu:noble-20260610N/A14.23-115.18-116.14-117.10-118.4-1
20260702ubuntu:noble-20260610N/A14.23-115.18-116.14-117.10-118.4-1
20260625ubuntu:noble-20260509.1N/A14.23-115.18-116.14-117.10-118.4-1
20260618ubuntu:noble-20260509.1N/A14.23-115.18-116.14-117.10-118.4-1
20260611ubuntu:noble-20260509.1N/A14.23-115.18-116.14-117.10-118.4-1
20260604ubuntu:noble-20260509.1N/A14.23-115.18-116.14-117.10-118.4-1
20260528ubuntu:noble-20260410N/A14.23-115.18-116.14-117.10-118.4-1
20260521ubuntu:noble-20260410N/A14.23-115.18-116.14-117.10-118.4-1
20260514ubuntu:noble-20260410N/A14.22-115.17-116.13-117.9-118.3-1
20260507ubuntu:noble-20260410N/A14.22-115.17-116.13-117.9-118.3-1
20260430ubuntu:noble-20260410N/A14.22-115.17-116.13-117.9-118.3-1
20260423ubuntu:noble-20260410N/A14.22-115.17-116.13-117.9-118.3-1
20260416ubuntu:noble-20260410N/A14.22-115.17-116.13-117.9-118.3-1
20260409ubuntu:noble-20260324N/A14.22-115.17-116.13-117.9-118.3-1
20260402ubuntu:noble-20260217N/A14.22-115.17-116.13-117.9-118.3-1
20260326ubuntu:noble-20260217N/A14.22-115.17-116.13-117.9-118.3-1
20260319ubuntu:noble-20260217N/A14.22-115.17-116.13-117.9-118.3-1
20260312ubuntu:noble-20260210.1N/A14.22-115.17-116.13-117.9-118.3-1
20260305ubuntu:noble-20260210.1N/A14.22-115.17-116.13-117.9-118.3-1
20260226ubuntu:noble-20260210.1N/A14.21-115.16-116.12-117.8-118.2-1
20260219ubuntu:noble-20260210.1N/A14.21-115.16-116.12-117.8-118.2-1
20260212ubuntu:noble-20260113N/A14.20-115.15-116.11-117.7-318.1-1
20260205ubuntu:noble-20260113N/A14.20-115.15-116.11-117.7-318.1-1
20260129ubuntu:noble-20260113N/A14.20-115.15-116.11-117.7-318.1-1
20260122ubuntu:noble-20260113N/A14.20-115.15-116.11-117.7-318.1-1
20260115ubuntu:noble-20251013N/A14.20-115.15-116.11-117.7-318.1-1
20260108ubuntu:noble-20251013N/A14.20-115.15-116.11-117.7-318.1-1
20260102ubuntu:noble-20251013N/A14.20-115.15-116.11-117.7-318.1-1
20251225ubuntu:noble-20251013N/A14.20-115.15-116.11-117.7-318.1-1
20251218ubuntu:noble-20251013N/A14.20-115.15-116.11-117.7-318.1-1
20251211ubuntu:noble-20251013N/A14.20-115.15-116.11-117.7-318.1-1
20251204ubuntu:noble-20251013N/A14.20-115.15-116.11-117.7-318.1-1
20251127ubuntu:noble-20251013N/A14.20-115.15-116.11-117.7-318.1-1
20251120ubuntu:noble-2025101313.23-114.20-115.15-116.11-117.7-318.1-1
20251113ubuntu:noble-2025100113.22-114.19-115.14-116.10-117.6-218.0-1
20251106ubuntu:noble-2025100113.22-114.19-115.14-116.10-117.6-118.0-1
20251030ubuntu:jammy-2025100113.22-114.19-115.14-116.10-117.6-118.0-1
20251023ubuntu:jammy-2025100113.22-114.19-115.14-116.10-117.6-118.0-1
20251016ubuntu:jammy-2025100113.22-114.19-115.14-116.10-117.6-118.0-1
20251009ubuntu:jammy-2025100113.22-114.19-115.14-116.10-117.6-118.0-1
20251002ubuntu:jammy-2025100113.22-114.19-115.14-116.10-117.6-118.0-1
20250925ubuntu:jammy-2025081913.22-114.19-115.14-116.10-117.6-118.0-1
20250918ubuntu:jammy-2025081913.22-114.19-115.14-116.10-117.6-1N/A
20250911ubuntu:jammy-2025081913.22-114.19-115.14-116.10-117.6-1N/A
20250906ubuntu:jammy-2025081913.22-114.19-115.14-116.10-117.6-1N/A
20250828ubuntu:jammy-2025073013.22-114.19-115.14-116.10-117.6-1N/A
20250821ubuntu:jammy-2025073013.22-114.19-115.14-116.10-117.6-1N/A
20250816ubuntu:jammy-2025073013.22-114.19-115.14-116.10-117.6-1N/A
20250807ubuntu:jammy-2025071413.21-114.18-115.13-116.9-117.5-1N/A
20250731ubuntu:jammy-2025071413.21-114.18-115.13-116.9-117.5-1N/A
20250724ubuntu:jammy-2025071413.21-114.18-115.13-116.9-117.5-1N/A
20250717ubuntu:jammy-2025071413.21-114.18-115.13-116.9-117.5-1N/A
20250710ubuntu:jammy-2025061913.21-114.18-115.13-116.9-117.5-1N/A
20250703ubuntu:jammy-2025061913.21-114.18-115.13-116.9-117.5-1N/A
20250626ubuntu:jammy-2025053013.21-114.18-115.13-116.9-117.5-1N/A
20250619ubuntu:jammy-2025053013.21-114.18-115.13-116.9-117.5-1N/A
20250612ubuntu:jammy-20250415.113.21-114.18-115.13-116.9-117.5-1N/A
20250605ubuntu:jammy-20250415.113.21-114.18-115.13-116.9-117.5-1N/A
20250530ubuntu:jammy-20250415.113.21-114.18-115.13-116.9-117.5-1N/A
20250522ubuntu:jammy-20250415.113.21-114.18-115.13-116.9-117.5-1N/A
20250518ubuntu:jammy-20250415.1N/AN/A15.13-116.9-117.5-1N/A
20250515ubuntu:jammy-20250415.113.21-114.18-115.13-116.9-117.5-1N/A
20250508ubuntu:jammy-20250415.113.20-114.17-115.12-116.8-117.4-1N/A
20250501ubuntu:jammy-2025040413.20-114.17-115.12-116.8-117.4-1N/A
20250424ubuntu:jammy-20250404N/AN/A15.12-116.8-1N/AN/A

team

maintainer: kkimurak (https://github.com/kkimurak)

Tag summary

Content type

Image

Digest

sha256:20100e20c

Size

149.4 MB

Last updated

7 days ago

docker pull kkimurak/sameersbn-postgresql