remove apps.json and update Dockerfile to make it work with CentOS6 and CentOS7