Releases: flanksource/postgres
Release list
PostgreSQL Upgrade Images 1.0.24
PostgreSQL Upgrade Images Release 1.0.24
Available Images
PostgreSQL 16 (Current: 16.14)
ghcr.io/flanksource/postgres:16- Latest PostgreSQL 16 major versionghcr.io/flanksource/postgres:16.14- Specific minor versionghcr.io/flanksource/postgres:16.14-13af1db- Version with commit SHA
PostgreSQL 17 (Current: 17.10)
ghcr.io/flanksource/postgres:17- Latest PostgreSQL 17 major versionghcr.io/flanksource/postgres:17.10- Specific minor versionghcr.io/flanksource/postgres:17.10-13af1db- Version with commit SHA
Usage
Basic Upgrade
docker run --rm \
-v /path/to/pgdata:/var/lib/postgresql/data \
ghcr.io/flanksource/postgres:17Upgrade and Start PostgreSQL
docker run -d \
-v /path/to/pgdata:/var/lib/postgresql/data \
-e START_POSTGRES=true \
-p 5432:5432 \
ghcr.io/flanksource/postgres:17Supported Upgrade Paths
- PostgreSQL 14 → 15, 16, 17
- PostgreSQL 15 → 16, 17
- PostgreSQL 16 → 17
Sequential upgrades are performed automatically (e.g., 14→15→16→17).
Environment Variables
PG_VERSION: Target PostgreSQL version (16 or 17)START_POSTGRES: Start PostgreSQL after upgrade (default: false)AUTO_UPGRADE: Enable auto-upgrade (default: true)RESET_PASSWORD: Reset password on startup (default: false)POSTGRES_PASSWORD: Password for reset (required if RESET_PASSWORD=true)
Architecture Support
All images support both linux/amd64 and linux/arm64 architectures (built natively on respective runners).
Build Information
- AMD64 builds: Native build on
ubuntu-latest - ARM64 builds: Native build on
ubuntu-24.04-arm - Manifests: Merged using Docker Buildx imagetools
postgres-cli
Download the CLI binary for your platform:
Checksums are automatically generated by GitHub for all release assets.
What's Changed
- Fix multi-arch Docker build by @adityathebe in #25
- Add database initialization with custom user and database by @adityathebe in #31
- fix: error handling by @adityathebe in #32
- fix(deps): update pgx in test module by @adityathebe in #35
- chore: remove dependabot configuration by @adityathebe in #36
- fix(deps): update vulnerable Go modules by @adityathebe in #39
- chore(deps): bump the go_modules group across 2 directories with 2 updates by @dependabot[bot] in #41
- ci: add explicit permissions to GitHub Actions workflows by @adityathebe in #42
- chore(deps): update flanksource go dependencies by @flanksource-ci-runner[bot] in #50
- chore(deps): update module github.com/flanksource/clicky to v1.21.42 by @flanksource-ci-runner[bot] in #52
- chore(deps): update module github.com/flanksource/postgres to v1 by @flanksource-ci-runner[bot] in #49
- chore(deps): update flanksource go dependencies by @flanksource-ci-runner[bot] in #53
- chore(deps): update flanksource go dependencies by @flanksource-ci-runner[bot] in #54
New Contributors
- @flanksource-ci-runner[bot] made their first contribution in #50
Full Changelog: v1.0.11...v1.0.24
PostgreSQL Upgrade Images 1.0.23
PostgreSQL Upgrade Images Release 1.0.23
Available Images
PostgreSQL 16 (Current: 16.14)
ghcr.io/flanksource/postgres:16- Latest PostgreSQL 16 major versionghcr.io/flanksource/postgres:16.14- Specific minor versionghcr.io/flanksource/postgres:16.14-3b076e0- Version with commit SHA
PostgreSQL 17 (Current: 17.10)
ghcr.io/flanksource/postgres:17- Latest PostgreSQL 17 major versionghcr.io/flanksource/postgres:17.10- Specific minor versionghcr.io/flanksource/postgres:17.10-3b076e0- Version with commit SHA
Usage
Basic Upgrade
docker run --rm \
-v /path/to/pgdata:/var/lib/postgresql/data \
ghcr.io/flanksource/postgres:17Upgrade and Start PostgreSQL
docker run -d \
-v /path/to/pgdata:/var/lib/postgresql/data \
-e START_POSTGRES=true \
-p 5432:5432 \
ghcr.io/flanksource/postgres:17Supported Upgrade Paths
- PostgreSQL 14 → 15, 16, 17
- PostgreSQL 15 → 16, 17
- PostgreSQL 16 → 17
Sequential upgrades are performed automatically (e.g., 14→15→16→17).
Environment Variables
PG_VERSION: Target PostgreSQL version (16 or 17)START_POSTGRES: Start PostgreSQL after upgrade (default: false)AUTO_UPGRADE: Enable auto-upgrade (default: true)RESET_PASSWORD: Reset password on startup (default: false)POSTGRES_PASSWORD: Password for reset (required if RESET_PASSWORD=true)
Architecture Support
All images support both linux/amd64 and linux/arm64 architectures (built natively on respective runners).
Build Information
- AMD64 builds: Native build on
ubuntu-latest - ARM64 builds: Native build on
ubuntu-24.04-arm - Manifests: Merged using Docker Buildx imagetools
postgres-cli
Download the CLI binary for your platform:
Checksums are automatically generated by GitHub for all release assets.
What's Changed
- Fix multi-arch Docker build by @adityathebe in #25
- Add database initialization with custom user and database by @adityathebe in #31
- fix: error handling by @adityathebe in #32
- fix(deps): update pgx in test module by @adityathebe in #35
- chore: remove dependabot configuration by @adityathebe in #36
- fix(deps): update vulnerable Go modules by @adityathebe in #39
- chore(deps): bump the go_modules group across 2 directories with 2 updates by @dependabot[bot] in #41
- ci: add explicit permissions to GitHub Actions workflows by @adityathebe in #42
- chore(deps): update flanksource go dependencies by @flanksource-ci-runner[bot] in #50
- chore(deps): update module github.com/flanksource/clicky to v1.21.42 by @flanksource-ci-runner[bot] in #52
- chore(deps): update module github.com/flanksource/postgres to v1 by @flanksource-ci-runner[bot] in #49
- chore(deps): update flanksource go dependencies by @flanksource-ci-runner[bot] in #53
New Contributors
- @flanksource-ci-runner[bot] made their first contribution in #50
Full Changelog: v1.0.11...v1.0.23
PostgreSQL Upgrade Images 1.0.22
PostgreSQL Upgrade Images Release 1.0.22
Available Images
PostgreSQL 16 (Current: 16.14)
ghcr.io/flanksource/postgres:16- Latest PostgreSQL 16 major versionghcr.io/flanksource/postgres:16.14- Specific minor versionghcr.io/flanksource/postgres:16.14-12616cd- Version with commit SHA
PostgreSQL 17 (Current: 17.10)
ghcr.io/flanksource/postgres:17- Latest PostgreSQL 17 major versionghcr.io/flanksource/postgres:17.10- Specific minor versionghcr.io/flanksource/postgres:17.10-12616cd- Version with commit SHA
Usage
Basic Upgrade
docker run --rm \
-v /path/to/pgdata:/var/lib/postgresql/data \
ghcr.io/flanksource/postgres:17Upgrade and Start PostgreSQL
docker run -d \
-v /path/to/pgdata:/var/lib/postgresql/data \
-e START_POSTGRES=true \
-p 5432:5432 \
ghcr.io/flanksource/postgres:17Supported Upgrade Paths
- PostgreSQL 14 → 15, 16, 17
- PostgreSQL 15 → 16, 17
- PostgreSQL 16 → 17
Sequential upgrades are performed automatically (e.g., 14→15→16→17).
Environment Variables
PG_VERSION: Target PostgreSQL version (16 or 17)START_POSTGRES: Start PostgreSQL after upgrade (default: false)AUTO_UPGRADE: Enable auto-upgrade (default: true)RESET_PASSWORD: Reset password on startup (default: false)POSTGRES_PASSWORD: Password for reset (required if RESET_PASSWORD=true)
Architecture Support
All images support both linux/amd64 and linux/arm64 architectures (built natively on respective runners).
Build Information
- AMD64 builds: Native build on
ubuntu-latest - ARM64 builds: Native build on
ubuntu-24.04-arm - Manifests: Merged using Docker Buildx imagetools
postgres-cli
Download the CLI binary for your platform:
Checksums are automatically generated by GitHub for all release assets.
What's Changed
- Fix multi-arch Docker build by @adityathebe in #25
- Add database initialization with custom user and database by @adityathebe in #31
- fix: error handling by @adityathebe in #32
- fix(deps): update pgx in test module by @adityathebe in #35
- chore: remove dependabot configuration by @adityathebe in #36
- fix(deps): update vulnerable Go modules by @adityathebe in #39
- chore(deps): bump the go_modules group across 2 directories with 2 updates by @dependabot[bot] in #41
- ci: add explicit permissions to GitHub Actions workflows by @adityathebe in #42
- chore(deps): update flanksource go dependencies by @flanksource-ci-runner[bot] in #50
- chore(deps): update module github.com/flanksource/clicky to v1.21.42 by @flanksource-ci-runner[bot] in #52
- chore(deps): update module github.com/flanksource/postgres to v1 by @flanksource-ci-runner[bot] in #49
New Contributors
- @flanksource-ci-runner[bot] made their first contribution in #50
Full Changelog: v1.0.11...v1.0.22
PostgreSQL Upgrade Images 1.0.21
PostgreSQL Upgrade Images Release 1.0.21
Available Images
PostgreSQL 16 (Current: 16.14)
ghcr.io/flanksource/postgres:16- Latest PostgreSQL 16 major versionghcr.io/flanksource/postgres:16.14- Specific minor versionghcr.io/flanksource/postgres:16.14-58bbde0- Version with commit SHA
PostgreSQL 17 (Current: 17.10)
ghcr.io/flanksource/postgres:17- Latest PostgreSQL 17 major versionghcr.io/flanksource/postgres:17.10- Specific minor versionghcr.io/flanksource/postgres:17.10-58bbde0- Version with commit SHA
Usage
Basic Upgrade
docker run --rm \
-v /path/to/pgdata:/var/lib/postgresql/data \
ghcr.io/flanksource/postgres:17Upgrade and Start PostgreSQL
docker run -d \
-v /path/to/pgdata:/var/lib/postgresql/data \
-e START_POSTGRES=true \
-p 5432:5432 \
ghcr.io/flanksource/postgres:17Supported Upgrade Paths
- PostgreSQL 14 → 15, 16, 17
- PostgreSQL 15 → 16, 17
- PostgreSQL 16 → 17
Sequential upgrades are performed automatically (e.g., 14→15→16→17).
Environment Variables
PG_VERSION: Target PostgreSQL version (16 or 17)START_POSTGRES: Start PostgreSQL after upgrade (default: false)AUTO_UPGRADE: Enable auto-upgrade (default: true)RESET_PASSWORD: Reset password on startup (default: false)POSTGRES_PASSWORD: Password for reset (required if RESET_PASSWORD=true)
Architecture Support
All images support both linux/amd64 and linux/arm64 architectures (built natively on respective runners).
Build Information
- AMD64 builds: Native build on
ubuntu-latest - ARM64 builds: Native build on
ubuntu-24.04-arm - Manifests: Merged using Docker Buildx imagetools
postgres-cli
Download the CLI binary for your platform:
Checksums are automatically generated by GitHub for all release assets.
What's Changed
- Fix multi-arch Docker build by @adityathebe in #25
- Add database initialization with custom user and database by @adityathebe in #31
- fix: error handling by @adityathebe in #32
- fix(deps): update pgx in test module by @adityathebe in #35
- chore: remove dependabot configuration by @adityathebe in #36
- fix(deps): update vulnerable Go modules by @adityathebe in #39
- chore(deps): bump the go_modules group across 2 directories with 2 updates by @dependabot[bot] in #41
- ci: add explicit permissions to GitHub Actions workflows by @adityathebe in #42
- chore(deps): update flanksource go dependencies by @flanksource-ci-runner[bot] in #50
- chore(deps): update module github.com/flanksource/clicky to v1.21.42 by @flanksource-ci-runner[bot] in #52
Full Changelog: v1.0.11...v1.0.21
PostgreSQL Upgrade Images 1.0.20
PostgreSQL Upgrade Images Release 1.0.20
Available Images
PostgreSQL 16 (Current: 16.14)
ghcr.io/flanksource/postgres:16- Latest PostgreSQL 16 major versionghcr.io/flanksource/postgres:16.14- Specific minor versionghcr.io/flanksource/postgres:16.14-d9ba9e9- Version with commit SHA
PostgreSQL 17 (Current: 17.10)
ghcr.io/flanksource/postgres:17- Latest PostgreSQL 17 major versionghcr.io/flanksource/postgres:17.10- Specific minor versionghcr.io/flanksource/postgres:17.10-d9ba9e9- Version with commit SHA
Usage
Basic Upgrade
docker run --rm \
-v /path/to/pgdata:/var/lib/postgresql/data \
ghcr.io/flanksource/postgres:17Upgrade and Start PostgreSQL
docker run -d \
-v /path/to/pgdata:/var/lib/postgresql/data \
-e START_POSTGRES=true \
-p 5432:5432 \
ghcr.io/flanksource/postgres:17Supported Upgrade Paths
- PostgreSQL 14 → 15, 16, 17
- PostgreSQL 15 → 16, 17
- PostgreSQL 16 → 17
Sequential upgrades are performed automatically (e.g., 14→15→16→17).
Environment Variables
PG_VERSION: Target PostgreSQL version (16 or 17)START_POSTGRES: Start PostgreSQL after upgrade (default: false)AUTO_UPGRADE: Enable auto-upgrade (default: true)RESET_PASSWORD: Reset password on startup (default: false)POSTGRES_PASSWORD: Password for reset (required if RESET_PASSWORD=true)
Architecture Support
All images support both linux/amd64 and linux/arm64 architectures (built natively on respective runners).
Build Information
- AMD64 builds: Native build on
ubuntu-latest - ARM64 builds: Native build on
ubuntu-24.04-arm - Manifests: Merged using Docker Buildx imagetools
postgres-cli
Download the CLI binary for your platform:
Checksums are automatically generated by GitHub for all release assets.
What's Changed
- Fix multi-arch Docker build by @adityathebe in #25
- Add database initialization with custom user and database by @adityathebe in #31
- fix: error handling by @adityathebe in #32
- fix(deps): update pgx in test module by @adityathebe in #35
- chore: remove dependabot configuration by @adityathebe in #36
- fix(deps): update vulnerable Go modules by @adityathebe in #39
- chore(deps): bump the go_modules group across 2 directories with 2 updates by @dependabot[bot] in #41
- ci: add explicit permissions to GitHub Actions workflows by @adityathebe in #42
- chore(deps): update flanksource go dependencies by @flanksource-ci-runner[bot] in #50
New Contributors
- @flanksource-ci-runner[bot] made their first contribution in #50
Full Changelog: v1.0.11...v1.0.20
PostgreSQL Upgrade Images 1.0.19
PostgreSQL Upgrade Images Release 1.0.19
Available Images
PostgreSQL 16 (Current: 16.14)
ghcr.io/flanksource/postgres:16- Latest PostgreSQL 16 major versionghcr.io/flanksource/postgres:16.14- Specific minor versionghcr.io/flanksource/postgres:16.14-1e2a7a0- Version with commit SHA
PostgreSQL 17 (Current: 17.10)
ghcr.io/flanksource/postgres:17- Latest PostgreSQL 17 major versionghcr.io/flanksource/postgres:17.10- Specific minor versionghcr.io/flanksource/postgres:17.10-1e2a7a0- Version with commit SHA
Usage
Basic Upgrade
docker run --rm \
-v /path/to/pgdata:/var/lib/postgresql/data \
ghcr.io/flanksource/postgres:17Upgrade and Start PostgreSQL
docker run -d \
-v /path/to/pgdata:/var/lib/postgresql/data \
-e START_POSTGRES=true \
-p 5432:5432 \
ghcr.io/flanksource/postgres:17Supported Upgrade Paths
- PostgreSQL 14 → 15, 16, 17
- PostgreSQL 15 → 16, 17
- PostgreSQL 16 → 17
Sequential upgrades are performed automatically (e.g., 14→15→16→17).
Environment Variables
PG_VERSION: Target PostgreSQL version (16 or 17)START_POSTGRES: Start PostgreSQL after upgrade (default: false)AUTO_UPGRADE: Enable auto-upgrade (default: true)RESET_PASSWORD: Reset password on startup (default: false)POSTGRES_PASSWORD: Password for reset (required if RESET_PASSWORD=true)
Architecture Support
All images support both linux/amd64 and linux/arm64 architectures (built natively on respective runners).
Build Information
- AMD64 builds: Native build on
ubuntu-latest - ARM64 builds: Native build on
ubuntu-24.04-arm - Manifests: Merged using Docker Buildx imagetools
postgres-cli
Download the CLI binary for your platform:
Checksums are automatically generated by GitHub for all release assets.
What's Changed
- Fix multi-arch Docker build by @adityathebe in #25
- Add database initialization with custom user and database by @adityathebe in #31
- fix: error handling by @adityathebe in #32
- fix(deps): update pgx in test module by @adityathebe in #35
- chore: remove dependabot configuration by @adityathebe in #36
- fix(deps): update vulnerable Go modules by @adityathebe in #39
- chore(deps): bump the go_modules group across 2 directories with 2 updates by @dependabot[bot] in #41
- ci: add explicit permissions to GitHub Actions workflows by @adityathebe in #42
Full Changelog: v1.0.11...v1.0.19
PostgreSQL Upgrade Images 1.0.18
PostgreSQL Upgrade Images Release 1.0.18
Available Images
PostgreSQL 16 (Current: 16.14)
ghcr.io/flanksource/postgres:16- Latest PostgreSQL 16 major versionghcr.io/flanksource/postgres:16.14- Specific minor versionghcr.io/flanksource/postgres:16.14-e2c7c54- Version with commit SHA
PostgreSQL 17 (Current: 17.10)
ghcr.io/flanksource/postgres:17- Latest PostgreSQL 17 major versionghcr.io/flanksource/postgres:17.10- Specific minor versionghcr.io/flanksource/postgres:17.10-e2c7c54- Version with commit SHA
Usage
Basic Upgrade
docker run --rm \
-v /path/to/pgdata:/var/lib/postgresql/data \
ghcr.io/flanksource/postgres:17Upgrade and Start PostgreSQL
docker run -d \
-v /path/to/pgdata:/var/lib/postgresql/data \
-e START_POSTGRES=true \
-p 5432:5432 \
ghcr.io/flanksource/postgres:17Supported Upgrade Paths
- PostgreSQL 14 → 15, 16, 17
- PostgreSQL 15 → 16, 17
- PostgreSQL 16 → 17
Sequential upgrades are performed automatically (e.g., 14→15→16→17).
Environment Variables
PG_VERSION: Target PostgreSQL version (16 or 17)START_POSTGRES: Start PostgreSQL after upgrade (default: false)AUTO_UPGRADE: Enable auto-upgrade (default: true)RESET_PASSWORD: Reset password on startup (default: false)POSTGRES_PASSWORD: Password for reset (required if RESET_PASSWORD=true)
Architecture Support
All images support both linux/amd64 and linux/arm64 architectures (built natively on respective runners).
Build Information
- AMD64 builds: Native build on
ubuntu-latest - ARM64 builds: Native build on
ubuntu-24.04-arm - Manifests: Merged using Docker Buildx imagetools
postgres-cli
Download the CLI binary for your platform:
Checksums are automatically generated by GitHub for all release assets.
What's Changed
- Fix multi-arch Docker build by @adityathebe in #25
- Add database initialization with custom user and database by @adityathebe in #31
- fix: error handling by @adityathebe in #32
- fix(deps): update pgx in test module by @adityathebe in #35
- chore: remove dependabot configuration by @adityathebe in #36
- fix(deps): update vulnerable Go modules by @adityathebe in #39
- chore(deps): bump the go_modules group across 2 directories with 2 updates by @dependabot[bot] in #41
Full Changelog: v1.0.11...v1.0.18
PostgreSQL Upgrade Images 1.0.17
PostgreSQL Upgrade Images Release 1.0.17
Available Images
PostgreSQL 16 (Current: 16.14)
ghcr.io/flanksource/postgres:16- Latest PostgreSQL 16 major versionghcr.io/flanksource/postgres:16.14- Specific minor versionghcr.io/flanksource/postgres:16.14-004d012- Version with commit SHA
PostgreSQL 17 (Current: 17.10)
ghcr.io/flanksource/postgres:17- Latest PostgreSQL 17 major versionghcr.io/flanksource/postgres:17.10- Specific minor versionghcr.io/flanksource/postgres:17.10-004d012- Version with commit SHA
Usage
Basic Upgrade
docker run --rm \
-v /path/to/pgdata:/var/lib/postgresql/data \
ghcr.io/flanksource/postgres:17Upgrade and Start PostgreSQL
docker run -d \
-v /path/to/pgdata:/var/lib/postgresql/data \
-e START_POSTGRES=true \
-p 5432:5432 \
ghcr.io/flanksource/postgres:17Supported Upgrade Paths
- PostgreSQL 14 → 15, 16, 17
- PostgreSQL 15 → 16, 17
- PostgreSQL 16 → 17
Sequential upgrades are performed automatically (e.g., 14→15→16→17).
Environment Variables
PG_VERSION: Target PostgreSQL version (16 or 17)START_POSTGRES: Start PostgreSQL after upgrade (default: false)AUTO_UPGRADE: Enable auto-upgrade (default: true)RESET_PASSWORD: Reset password on startup (default: false)POSTGRES_PASSWORD: Password for reset (required if RESET_PASSWORD=true)
Architecture Support
All images support both linux/amd64 and linux/arm64 architectures (built natively on respective runners).
Build Information
- AMD64 builds: Native build on
ubuntu-latest - ARM64 builds: Native build on
ubuntu-24.04-arm - Manifests: Merged using Docker Buildx imagetools
postgres-cli
Download the CLI binary for your platform:
Checksums are automatically generated by GitHub for all release assets.
What's Changed
- Fix multi-arch Docker build by @adityathebe in #25
- Add database initialization with custom user and database by @adityathebe in #31
- fix: error handling by @adityathebe in #32
- fix(deps): update pgx in test module by @adityathebe in #35
- chore: remove dependabot configuration by @adityathebe in #36
- fix(deps): update vulnerable Go modules by @adityathebe in #39
Full Changelog: v1.0.11...v1.0.17
PostgreSQL Upgrade Images 1.0.16
PostgreSQL Upgrade Images Release 1.0.16
Available Images
PostgreSQL 16 (Current: 16.14)
ghcr.io/flanksource/postgres:16- Latest PostgreSQL 16 major versionghcr.io/flanksource/postgres:16.14- Specific minor versionghcr.io/flanksource/postgres:16.14-b00179c- Version with commit SHA
PostgreSQL 17 (Current: 17.10)
ghcr.io/flanksource/postgres:17- Latest PostgreSQL 17 major versionghcr.io/flanksource/postgres:17.10- Specific minor versionghcr.io/flanksource/postgres:17.10-b00179c- Version with commit SHA
Usage
Basic Upgrade
docker run --rm \
-v /path/to/pgdata:/var/lib/postgresql/data \
ghcr.io/flanksource/postgres:17Upgrade and Start PostgreSQL
docker run -d \
-v /path/to/pgdata:/var/lib/postgresql/data \
-e START_POSTGRES=true \
-p 5432:5432 \
ghcr.io/flanksource/postgres:17Supported Upgrade Paths
- PostgreSQL 14 → 15, 16, 17
- PostgreSQL 15 → 16, 17
- PostgreSQL 16 → 17
Sequential upgrades are performed automatically (e.g., 14→15→16→17).
Environment Variables
PG_VERSION: Target PostgreSQL version (16 or 17)START_POSTGRES: Start PostgreSQL after upgrade (default: false)AUTO_UPGRADE: Enable auto-upgrade (default: true)RESET_PASSWORD: Reset password on startup (default: false)POSTGRES_PASSWORD: Password for reset (required if RESET_PASSWORD=true)
Architecture Support
All images support both linux/amd64 and linux/arm64 architectures (built natively on respective runners).
Build Information
- AMD64 builds: Native build on
ubuntu-latest - ARM64 builds: Native build on
ubuntu-24.04-arm - Manifests: Merged using Docker Buildx imagetools
postgres-cli
Download the CLI binary for your platform:
Checksums are automatically generated by GitHub for all release assets.
What's Changed
- Fix multi-arch Docker build by @adityathebe in #25
- Add database initialization with custom user and database by @adityathebe in #31
- fix: error handling by @adityathebe in #32
- fix(deps): update pgx in test module by @adityathebe in #35
- chore: remove dependabot configuration by @adityathebe in #36
Full Changelog: v1.0.11...v1.0.16
PostgreSQL Upgrade Images 1.0.15
PostgreSQL Upgrade Images Release 1.0.15
Available Images
PostgreSQL 16 (Current: 16.14)
ghcr.io/flanksource/postgres:16- Latest PostgreSQL 16 major versionghcr.io/flanksource/postgres:16.14- Specific minor versionghcr.io/flanksource/postgres:16.14-a96febc- Version with commit SHA
PostgreSQL 17 (Current: 17.10)
ghcr.io/flanksource/postgres:17- Latest PostgreSQL 17 major versionghcr.io/flanksource/postgres:17.10- Specific minor versionghcr.io/flanksource/postgres:17.10-a96febc- Version with commit SHA
Usage
Basic Upgrade
docker run --rm \
-v /path/to/pgdata:/var/lib/postgresql/data \
ghcr.io/flanksource/postgres:17Upgrade and Start PostgreSQL
docker run -d \
-v /path/to/pgdata:/var/lib/postgresql/data \
-e START_POSTGRES=true \
-p 5432:5432 \
ghcr.io/flanksource/postgres:17Supported Upgrade Paths
- PostgreSQL 14 → 15, 16, 17
- PostgreSQL 15 → 16, 17
- PostgreSQL 16 → 17
Sequential upgrades are performed automatically (e.g., 14→15→16→17).
Environment Variables
PG_VERSION: Target PostgreSQL version (16 or 17)START_POSTGRES: Start PostgreSQL after upgrade (default: false)AUTO_UPGRADE: Enable auto-upgrade (default: true)RESET_PASSWORD: Reset password on startup (default: false)POSTGRES_PASSWORD: Password for reset (required if RESET_PASSWORD=true)
Architecture Support
All images support both linux/amd64 and linux/arm64 architectures (built natively on respective runners).
Build Information
- AMD64 builds: Native build on
ubuntu-latest - ARM64 builds: Native build on
ubuntu-24.04-arm - Manifests: Merged using Docker Buildx imagetools
postgres-cli
Download the CLI binary for your platform:
Checksums are automatically generated by GitHub for all release assets.
What's Changed
- Fix multi-arch Docker build by @adityathebe in #25
- Add database initialization with custom user and database by @adityathebe in #31
- fix: error handling by @adityathebe in #32
- fix(deps): update pgx in test module by @adityathebe in #35
Full Changelog: v1.0.11...v1.0.15