timescale / timescaledb-docker-ha

Create Docker images containing TimescaleDB, Patroni to be used by developers and Kubernetes.
Apache License 2.0
155 stars 44 forks source link

How to build timescaledb-docker-ha image in redhat ubi8 base image #453

Closed vijaybhaskar644 closed 5 months ago

vijaybhaskar644 commented 6 months ago

default base image in the repo is ubuntu, we have requirement to build on redhat ubi8 minimal base image, but the Dockerfile commands not working, can somebody provide steps to build image with Dockerfile using redhat ubi8 base image

graveland commented 6 months ago

It would be a huge undertaking to change the base image. All the packaging commands, repositories, versions, ... almost everything would need changing to account for using RH and rpms. I estimate that 75% of the lines in the Dockerfile would need to be changed. There may be other repositories that might be based off of redhat though, but I haven't looked.

vijaybhaskar644 commented 6 months ago

we have built timescaledb image using this repo, https://github.com/timescale/timescaledb based on redhat ubi8 image, but for high availability support we are considering to use this timescaledb-docker-ha image, is there a possibility to include some lines from this repo Dockerfile to this repo https://github.com/timescale/timescaledb Dockerfile to get the high availability support like patroni along with timescaledb toolkit

graveland commented 5 months ago

Do you mean timescaledb-docker? If so, then one of the big differences between the two repositories is that this one builds rust components (like timescaledb-toolkit), and that would be prohibitively slow with emulation. It causes the github actions jobs to timeout after 6 hours, so I don't think that repo would include the toolkit.