https://github.com/pegasystems/srs-docker-image-builder
Dockerfile for generating Search and Reporting Service(SRS) docker images
https://github.com/pegasystems/srs-docker-image-builder
Last synced: 10 months ago
JSON representation
Dockerfile for generating Search and Reporting Service(SRS) docker images
- Host: GitHub
- URL: https://github.com/pegasystems/srs-docker-image-builder
- Owner: pegasystems
- License: apache-2.0
- Created: 2022-01-25T18:59:48.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2025-03-04T05:53:47.000Z (over 1 year ago)
- Last Synced: 2025-06-15T05:35:37.961Z (about 1 year ago)
- Language: Dockerfile
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# Building a Search and Reporting Service(SRS) docker image
To build your own SRS Docker image, you must have `docker cli` installed on your local system before you begin this procedure.
## SRS Image customization
If you do not want to use the Pega-provided Docker image,you can use the bellow process to create your preferred SRS docker image. When making customizations for your environment, check the [Pega Platform Support Guide Resources](https://community.pega.com/knowledgebase/articles/pega-platform-support-guide-resources) to verify that those changes are supported by your Pega Platform version. If you choose to build your own image, Pega will continue to offer support for Pega Platform, but problems that arise from your custom image are not the responsibility of Pegasystems.
This section describes how you can use a [multi-stage docker builds](https://docs.docker.com/develop/develop-images/multistage-build/) for building a custom SRS docker image with [Dockerfile](Dockerfile).
For clients who need to build their own deployment image, Pega recommends building your SRS image by updating the `Stage 2` in provided [Dockerfile](Dockerfile).
Follow the below steps to create a SRS Docker image that you can use to install or upgrade SRS backingservice.
With access credentials to the Pega Docker image repository, you log in to docker
1. From a Linux bash shell, ensure you are logged in to your DockerHub account:
`$ docker login -u -p `
For details about logging into Docker from a secure password file using the `--password-stdin` option, see .
2. Customize the provided [Dockerfile](Dockerfile) as per your environment.
3. Run `$ docker build --build-arg SRS_IMAGE_VERSION= -t platform-services/search-n-reporting-service: .` command at root path of srs-docker-image-builder i.e, `path-to-project/srs-docker-image-builder/`
`SRS_IMAGE_VERSION` is the version that is having PEGA shipped SRS docker image version.By default, the value is `latest`
4. Run `$ docker images` to find the generated SRS docker image.
Note: Make sure to use the **same value** for **** parameter throughout the process.
## Tag SRS Image and push to docker private repository
1. Tag the local version of your new image,search-n-reporting-service, with your private Docker repository
`$ docker tag platform-services/search-n-reporting-service: /search-n-reporting-service:`
2. From a Linux bash shell, use the Docker command to push the new image to
your private registry:
`$ docker push /search-n-reporting-service:`