Docker build keycloak from keycloak*.tar.gz

Hi all,
I customize source code keycloak and using maven build to file keycloak*.tar.gz.
I have question that how to build docker image from file or directory local?
Please someone help me.