chore: add system images to docker-bake.hcl (#282)

This change extends the bake build process by introducing the system image flavour.
The system image is derived from the existing standard image and includes Barman Cloud support.

Closes #283
Closes #286

Signed-off-by: Jonathan Gonzalez V <jonathan.gonzalez@enterprisedb.com>
Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
Co-authored-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
Co-authored-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
Co-authored-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
This commit is contained in:
Jonathan Gonzalez V.
2025-09-08 12:07:22 +02:00
committed by GitHub
parent 3ea082111e
commit fdc8010750
6 changed files with 173 additions and 67 deletions

View File

@@ -73,10 +73,10 @@ docker buildx bake --push
If you want to limit the build to a specific combination, you can specify the
target in the `VERSION-TYPE-BASE` format. For example, to build an image for
PostgreSQL 17 with the `minimal` format on the `bookworm` base image:
PostgreSQL 17 with the `minimal` format on the `trixie` base image:
```bash
docker buildx bake --push postgresql-17-minimal-bookworm
docker buildx bake --push postgresql-17-minimal-trixie
```
You can also limit the build to a single platform, for example AMD64, with:
@@ -90,7 +90,7 @@ The two can be mixed as well:
```bash
docker buildx bake --push \
--set "*.platform=linux/amd64" \
postgresql-17-minimal-bookworm
postgresql-17-minimal-trixie
```
## The Distribution Registry