# go.exe build -i -o dockerize main.go compress.go
-d [jars' directory]
-jar [jar file]
-jdk [jdk version default by 8] (only support 8)
-o [tar output directory] default current directory (default ".")
expose ports eg: -p 1234,1235,1236
# dockerize -jar myjar.jar
# dockerize -jar myjar.jar -p 80,8080
# dockerize -jar myjar.jar -o dir
# dockerize -d /var/path -o /var/path
Download jre8 base image from https://store.docker.com/images/oracle-serverjre-8
# ./build.sh