It is useful to have the ability to build local images and then push them to your Docker Hub account.
Usage: ./build_local_image.sh path-to-bundle image-name version <push>
Example: ./build_local_image.sh ../bundles/master portal-snapshot demo-cbe09fb0 <push>
Sample Local Build of the Liferay 7.2 CE (with SQL Server Support) and push on my Docker Hub account
./build_local_image.sh ~/dev/liferay-ce-portal-7.2.0-ga1/ amusarra/liferay-portal-72-ga1-sqlserver 7.2-ga1-sqlserver push
Referer commit Added docker push option on build local image