13 Commits

Author SHA1 Message Date
Niccolò Fei
2d191a5c54 fix: ensure /var/lib/postgresql/data doesn't exist is system containers (#246)
Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
2025-07-14 09:24:08 +02:00
Jonathan Gonzalez V.
950c4ef0da chore: remove unnecessary line for Vim editor (#237)
In some system this produce a security issue documented here:
https://security-tracker.debian.org/tracker/CVE-2023-52425

Signed-off-by: Jonathan Gonzalez V <jonathan.gonzalez@enterprisedb.com>
2025-07-04 12:11:43 +02:00
Niccolò Fei
dc0d7b221b chore: workaround to fix dockle scan warning (#204)
Dockle scans fail with an unrelated warning on dist-upgrade
if you use both apt & apt-get in the same RUN step.
As a workaround, let's use only apt-get.

Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
2025-05-26 11:05:15 +02:00
Francesco Canovai
8010a5bab3 build: halt build if PG can have a minor upgrade (#187)
When building a system image, we start from a community postgres image.
There is the chance that newer postgres packages are released, and they
could be upgraded when installing the supported extensions. We want to
prevent this scenario, as it could lead to unexpected versions in the
container image.

Closes #186

Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
2025-05-12 15:01:06 +02:00
Niccolò Fei
012f3b6677 chore: fix LZ4 builds on arm64 (#162)
build-essential and python3-dev are required to build LZ4 on arm64 since there aren't pre-compiled wheel available for this architecture. 
Also, switch back to using the latest qemu image.

Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
2025-03-11 16:42:03 +01:00
Jonathan Gonzalez V.
84f873351d chore: remove build-essentials from the image build (#121)
A couple of things were fixed in Barman that allow us to remove
build-essentials and a bunch of development packages that were
only needed during the build process.

Closes #117

Signed-off-by: Jonathan Gonzalez V <jonathan.gonzalez@enterprisedb.com>
2024-12-19 15:16:13 +01:00
Niccolò Fei
689d61a2e6 fix: add workaround to install snappy on Bookworm (#110)
Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
2024-07-03 11:07:54 +02:00
Niccolò Fei
baed8316c7 feat: generate Debian (12) Bookworm images (#62)
Add Debian 12 images and the related ClusterImageCatalog
---------

Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
Signed-off-by: Jonathan Gonzalez V <jonathan.gonzalez@enterprisedb.com>
Signed-off-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
Co-authored-by: Jonathan Gonzalez V <jonathan.gonzalez@enterprisedb.com>
Co-authored-by: Francesco Canovai <francesco.canovai@enterprisedb.com>
2024-05-09 18:41:06 +02:00
Gabriele Bartolini
8e669ab320 feat: add pgvector extension (#71)
AI is a hot topic in Cloud Native environments (not only there).
Providing a way to easily add `pgvector` to CloudNativePG deployments
can potentially increase the adoption of Postgres in these contexts.

It is an extension that can be fully controlled by a standard Postgres
user, like the application user in CloudNativePG, without requiring
any settings in shared_preload_libraries.

License-wise that extension creates no problems.

Closes #70

Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
2023-09-13 18:51:00 +02:00
Gabriele Bartolini
cdc7f1cf5c feat: add Postgres Failover Slots extension to images (#57)
Add the pg-failover-slots extension released by EnterpriseDB
under the PostgreSQL License to the default container images
for all supported Postgres versions.

URL: https://github.com/EnterpriseDB/pg_failover_slots

Closes #56

Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
Co-authored-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
2023-05-19 16:33:43 +02:00
Jonathan Gonzalez V
314b054233 chore: add org.opencontainers.image.description label (#49)
Added the org.opencontainers.image.description label with the proper description.

Closes #45
2022-12-29 11:57:34 +01:00
Niccolò Fei
c79ee8eb03 chore: set v15 as the latest tag (#42)
Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
2022-10-19 16:45:53 +08:00
tao
d071944342 Initial Commit
Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
2022-04-14 12:23:42 -04:00