Build bitnami docker images
For HCL Commerce, you must build the Bitnami Redis Docker image and, if you use
Elasticsearch-based search, the Bitnami ZooKeeper Docker image before deployment. After
building the images, update the image registry, repository, and tag values in the
values.yaml file to reference the images in your container
registry.
Building the bitnami 8.8.0 redis docker image
For HCL Commerce, Bitnami Redis 8.8.0 is certified, and the corresponding Bitnami Redis Helm chart is bundled with the 9.1.21.0 Helm chart. You must build the Redis 8.8.0 Docker image yourself before deployment.
If you use a different certified Bitnami Redis version, you can follow similar steps to build the corresponding Docker image.
- Check out or download
8.8.0-debian-12-r3from GitHub:https://github.com/bitnami/containers/tree/731e897f9ddc424284b9aa308c3f264b162c98a5 - Navigate to the
bitnami/redis/8.8/debian-12directory. - Update the Dockerfile to remove
env=SECRET_DOWNLOADS_URLfrom the following line:RUN --mount=type=secret,id=downloads_url,env=SECRET_DOWNLOADS_URL \Update it to:RUN --mount=type=secret,id=downloads_url \ - From the
bitnami/redis/8.8/debian-12directory, run the following command to build the Redis Docker image:DOCKER_BUILDKIT=1 docker build -t <your-docker-repo>/bitnami/redis:8.8.0-debian-12-r3 .For example:DOCKER_BUILDKIT=1 docker build -t ssbenonfeddev.azurecr.io/bitnami/redis:8.8.0-debian-12-r3 . - Update the Redis Docker image details in the
values.yamlfile to reference the newly built image.Example:image: registry: mydockerrepo.com repository: bitnami/redis tag: 8.8.0-debian-12-r3 - Deploy Redis.
- Check out or download

- Building the bitnami zooKeeper docker image (Elasticsearch-based search only)
- For HCL Commerce, Bitnami ZooKeeper 3.9.5 is certified, and the corresponding
Bitnami ZooKeeper Helm chart is bundled with the 9.1.21.0 Helm chart. You must
build the ZooKeeper 3.9.5 Docker image yourself before deployment.
- Download the ZooKeeper
3.9.5-debian-12-r0source code from the Bitnami Containers repository and extract it to a directory.
Example:https://github.com/bitnami/containers/tree/1d546839a00742aa3105de9addba8e493c507d73Containers-1d546839a00742aa3105de9addba8e493c507d73 - Navigate to the
bitnami/zookeeper/3.9/debian-12directory. - Update the Dockerfile to remove
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 \ - From the
bitnami/zookeeper/3.9/debian-12directory, run the following command to build the ZooKeeper Docker image:
For example:DOCKER_BUILDKIT=1 docker build -t <your-docker-repo>/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 Docker image details in the
values.yamlfile to reference the newly built image.Example:image: registry: mydockerrepo.com repository: bitnami/zookeeper tag: 3.9.5-debian-12-r0 - Deploy ZooKeeper.
- Download the ZooKeeper