Temporal visibility store Elasticsearch schema version upgrade not working with upgrade.sh scripts as jq not available

Hello Team , we are using Temporal 1.17.* with Elasticsearch as visibility store. During upgrade Elasticsearch schema version from v1 to v2 using “upgrade.sh” script , it is throwing error like “jq” not found. We are using “temporalio/auto-setup” image for temporal. We tried to install jq inside the container, but it is not allowing to install. Any suggestions? Thanks.