Jython 2.7.0 additional libraries with pip


I have built my own docker image with jython support inside using jython 2.7.0 installer. There is a problem with the installation of the pip tool, which is a known issue on jython.org. They advise to use a version >=2.7.1 but those versions seems to have a huge performance issue in openhab getting rules executed really slow 5-10 times slower then 2.7.0. so that is no solution for me. Does someone know another way to add additional libs as for example, astral or influxdb that are normally installed via pip install