How to customize the base nginx binary file of kong

I want to add the “gunzip” module in kong 1.3.0, so I want to recompile the base Nginx binary in kong, I would like to know if it is possible to compile via docker.