Build bitnami docker images
For Commerce+ Transaction Server, you must build the Bitnami Redis docker image and Bitnami
ZooKeeper ( if you use Elasticsearch-based search) docker image by themself before
deployment. After building the images, update the image registry, repository, and tag value
in the values.yaml file referring the images in your container
registry.
- Building the bitnami redis docker image
-
For Commerce+ Transaction Server certified Redis image and the corresponding Bitnami redis helm chart is bundled with the respective Helm chart. You must build the Redis Docker image yourself before deployment.
If you use a different certified Bitnami redis version, follow the same procedure using the corresponding source.
- Download or clone from github:
Certified Redis Image version for Release Github Conatiner Link
8.8.0-debian-12-r3https://github.com/bitnami/containers/tree/731e897f9ddc424284b9aa308c3f264b162c98a5
8.10.1-debian-12-r1https://github.com/bitnami/containers/tree/f174ba4bfdbdf63fa12783aa261f431f70fb8c0e - Navigate to the Redis source directory:
Certified Redis Image version for Release Navigate to the Redis source directory
8.8.0-debian-12-r3bitnami/redis/8.8/debian-12
8.10.1-debian-12-r1bitnami/redis/8.10/debian-12 - Update the Dockerfile and remove the
env=SECRET_DOWNLOADS_URLfrom the following line
Update it to:RUN --mount=type=secret,id=downloads_url,env=SECRET_DOWNLOADS_URL \RUN --mount=type=secret,id=downloads_url \ - Build the Redis Docker image by running the following command from the
respective redis source
directory.
Example:DOCKER_BUILDKIT=1 docker build -t <your-docker-repository>/bitnami/redis:<image tag> .DOCKER_BUILDKIT=1 docker build -t ssbenonfeddev.azurecr.io/bitnami/redis:8.8.0-debian-12-r3 . - Update the Redis image configuration in the
values.yamlfile.image: registry: mydockerrepo.com repository: bitnami/redis tag: 8.8.0-debian-12-r3 - Deploy Redis.
- Download or clone from github:
- Building the bitnami zooKeeper docker image (Elasticsearch-based search only)
-
If you use Elasticsearch-based search, you must also build the Bitnami ZooKeeper Docker image.
For Commerce+ Transaction Server certified Bitnami ZooKeeper and the corresponding Bitnami ZooKeeper Helm chart is bundled with the respective Helm chart.
- Download or clone from Github:
Certified zookeeper Image version for Release Github Conatiner Link
3.9.5-debian-12-r0https://github.com/bitnami/containers/tree/1d546839a00742aa3105de9addba8e493c507d73 - Navigate to the ZooKeeper source directory:
Certified zookeeper Image version for Release Navigate to the zookeeper directory
3.9.5-debian-12-r0bitnami/zookeeper/3.9/debian-12 - Inside debian-12 folder update the Dockerfile and remove the
env=SECRET_DOWNLOADS_URLoption from the following line :
Update it to:RUN --mount=type=secret,id=downloads_url,env=SECRET_DOWNLOADS_URL \RUN --mount=type=secret,id=downloads_url \ - Build the Zookeeper Docker image by running the following command from
the
bitnami/zookeeper/3.9/debian-12directory.
Example:DOCKER_BUILDKIT=1 docker build -t <your-docker-repository>/bitnami/zookeeper:3.9.5-debian-12-r0 .DOCKER_BUILDKIT=1 docker build -t ssbenonfeddev.azurecr.io/bitnami/zookeeper:3.9.5-debian-12-r0 . - Update the ZooKeeper image configuration in the
values.yamlfile.image: registry: mydockerrepo.com repository: bitnami/zookeeper tag: 3.9.5-debian-12-r0 - Deploy ZooKeeper.
- Download or clone from Github:
- Redis is required for all HCL Commerce+ deployments.
- ZooKeeper is required only when using Elasticsearch-based search.
- Ensure that the
registry,repository, andtagvalues invalues.yamlmatch the images that you built and pushed to your container registry. - After updating
values.yaml, deploy or upgrade your Helm release to use the new images.