@classmethod
def ce_build(cls, srv, *options, **kwargs):
    """
        Build containers that need to be build locally, and upload them so that they can be started later on.

        USERNAME and PASSWORD for the push have to be provided by the environment or the commandline.
        """
    srvd = cls._ocean._get(srv)
    assert srvd['type'] == 'environment'
    cls._ocean.build(srv, '-R', *options, **kwargs)
