ERROR: TimescaleDB background worker connected to template database, exiting. on installation

I am trying to create a custom timescaleDB image, using https://github.com/timescale/timescaledb-docker as base image. However is see an error always getting logged on installation

“ERROR: TimescaleDB background worker connected to template database, exiting.”

On further investigation, I found that it due to the command present at “[timescaledb-docker/docker-entrypoint-initdb.d/000_install_timescaledb.sh at 39b7416f024660368922eb879b24bbe236a5e79b · timescale/timescaledb-docker · GitHub](https://timescaledb installation)”.

Since, I am creating my own database using template1, I cannot remove this command.

Is there a way to get rid of this error message?