Postgis on percona 17 docker image

Hi, I’m looking at using the percona postgresql docker image and noticed that the image does not include postgis. I am looking to extend the docker image and include postgis along with timescaleDB and although I can get timescaleDB up and going, I’m running into dependency issues when trying to install the postgis packages, i.e:

RUN dnf install -y --nobest percona-postgis33_17 percona-postgis33_17-client

Complains that I am missing hdf5 and xerces-c, if I then install those libraries it complains about others missing and so on.

Any advice would be welcome.