Adding support for Ubuntu in create_repo and docker_entrypoint scripts