Refactor apache to debian image.