Touchscreen calibration

Has anyone come across any good touchscreen calibration tools?
I’m using balenaFin with an official RPi 7" touchscreen, but the touch is pretty off and I need it to be a lot better (doesn’t need to be pixel-perfect).

Ideally I’m looking for a tool I can use in a compose file to build a profile which I can then dump to a file and use in a docker file.

Thanks for any help.
Paul