Get a git clone of the build repository.
git clone https://github.com/thilinapiy/dockerfiles(https://github.com/thilinapiy/dockerfiles)
Download Oracle JDK 7 tar.gz (not JDK 8) and place it in '/dockerfiles/base/dist/'
mv <download path>/jdk-7u55-linux-x64.tar.gz /dockerfiles/base/dist/
Download WSO2 API manager and place that in '/dockerfiles/base/dist/'
mv <download path>/wso2am-1.6.0.zip /dockerfiles/base/dist/
Change directory to '/dockerfiles/base/'.
cd dockerfiles/base/
Run docker command to build image.
docker build -t apim_image .
Start in interactive mode
docker run -i -t --name apim_test apim_image
Start in daemon mode
docker run -d --name apim_test apim_image