A custom Docker image has been prepared that extends the official Tyk Gateway v5.3.0, and packages a compiled .so binary
The tag is sedkis/tyk-gateway-jwt-custom-auth:v5.3.0-0.1
https://hub.docker.com/repository/docker/sedkis/tyk-gateway-jwt-custom-auth/general
The custom auth plugin can be seen and compiled here