This issue has come up before:
There’s an open PR but it only deals with the Binderhub side, another one may be needed on the repo2docker side.
It’d be good to get your feedback on that issue, especially with regards to whether it’d work for you, and whether you think there are other implementations that should be considered.