I would like to contribute to the project but am investigating how to setup a local build pipeline so I can test images in my k8s environments first. For example I’m taking a look at the mongodb backup repo, I see a jenkinsfile and other ci related files on testing, but not for building images. There are two dockerfiles, one has k8s in the name, but then I find this repo Percona Docker which has more docker images. Which one should I be using if I want to build the same image that gets posted to Docker Hub?
Hello David! Thank you very much for your interest in contributing to Percona’s repositories.
The image in the percona-docker repository at https://github.com/percona/percona-docker/blob/main/percona-backup-mongodb/Dockerfile uses the Percona Distribution. It’s possible to build it, but it will contain only the released version (not compiled from the source code).
If you want to build the image from the source code, you can use the following Dockerfile at https://github.com/percona/percona-backup-mongodb/blob/dev/e2e-tests/docker/pbm.dockerfile.
Note: “pbm” stands for Percona Backup for MongoDB
Please let me know if this makes sense to you, and if you have any more questions, I’m happy to help!