@validates_schema
def validate_dockerfile(self, data, **kwargs):
    validate_image(data.get('image'))
@validates_schema
def validate_dockerfile(self, data, **kwargs):
    validate_image(data.get('image'))