https://github.com/dalibo/docker-buildpack
Base buildpack image for CI
https://github.com/dalibo/docker-buildpack
Last synced: 4 months ago
JSON representation
Base buildpack image for CI
- Host: GitHub
- URL: https://github.com/dalibo/docker-buildpack
- Owner: dalibo
- Created: 2021-05-20T11:55:21.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-10-14T08:55:20.000Z (over 1 year ago)
- Last Synced: 2025-01-16T05:29:23.044Z (over 1 year ago)
- Language: Makefile
- Size: 49.8 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# [dalibo/buildpack]
Dalibo maintains a family of *buildpack* container image
for development and CI environment
of PostgreSQL and PostgreSQL tool projects.
- [dalibo/buildpack]: basic tooling
- [dalibo/buildpack-mig]: with tooling for Oracle, MySQL, MariaDB, etc.
- [dalibo/buildpack-pkg]: packaging for debian, redhat, etc.
- [dalibo/buildpack-python]: for python-based project
- [dalibo/buildpack-postgres]: includes three major versions of PostgreSQL server
- [dalibo/buildpack-postgres-dev]: for extension development
[dalibo/buildpack]: https://hub.docker.com/r/dalibo/buildpack
[dalibo/buildpack-mig]: https://hub.docker.com/r/dalibo/buildpack-mig
[dalibo/buildpack-pkg]: https://hub.docker.com/r/dalibo/buildpack-pkg
[dalibo/buildpack-python]: https://hub.docker.com/r/dalibo/buildpack-python
[dalibo/buildpack-postgres]: https://hub.docker.com/r/dalibo/buildpack-postgres
[dalibo/buildpack-postgres-dev]: https://hub.docker.com/r/dalibo/buildpack-postgres-dev
You are strongly encouraged to pin SHA256 when using an image!
## Contents
Buildpack image for development of PostgreSQL tooling:
- PGDG repositories.
- bzip2, zip, xz
- curl, wget, ca-certificates
- git
- [gh](https://github.com/cli/cli)
- jq
- make
- psql
- retry, wait-for-it.sh
- shellchecks
- ssh
- sudo
- tini
- a system user named `testuser`.
- `en_US.UTF-8` locale.
This image does not include GCC nor PostgreSQL server.
Each images does not includes all tools, to save disk space and bandwidth. If
you need a tool in a specific image, just ask.
## Debian specificities
Debian images are based on official buildpack-deps:*-curl. They includes the
following extra tools:
- bats
Also, Debian images does not includes Python.
## Tags
- `alpine`.
- `bookworm`.
- `bullseye`.
- `centos6`.
- `centos7`.
- `jammy`.
- `noble`.
- `rockylinux8`
- `rockylinux9`
- `rockylinux10`
- `trixie`
## retry
The retry script retries the given command 10 times, sleeping from 0 to 10
seconds.
``` console
root@ea6830e87421:/etabli# retry false bla bla
+ for s in {0..10}
+ false bla bla
+ sleep 0
+ for s in {0..10}
+ false bla bla
+ sleep 1
+ for s in {0..10}
+ false bla bla
+ sleep 2
...
```
## Contributing
Image usage by Dalibo projects is documented in [wiki](https://github.com/dalibo/docker-buildpack/wiki).