private boolean skipDockerfileGen(ServiceSpec serviceSpec, DockerfileGenContext context) {

        if (DockerfileGenPredicates.skipDockerfileGen().test(serviceSpec)) {
            WorkflowLogger.startActivity(DockerfileActivity.DOCKERFILE_GENERATION);
            WorkflowLogger.endActivity(Status.SKIPPING);
            if (ServiceSpecPredicates.stackAsServiceImage().test(serviceSpec)) {
                context.setStackAsServiceImage(true);
            }
            return false;
        }

        return true;
    }
Skip dockerfile generation when 1. User has provided dockerfile in the
service spec 2. Both dockerfile & buildSpec is not provided 
3. BuildSpec exists & if they don't have artifacts , configureCommands, runCommands
,configScript and runScript
<p>
Also, validates whether dockerfile & buildSpec both are provided. According
to service spec dockerfile & buildSpec are mutually exclusive

@param serviceSpec
@return true if docker file generation required
@throws HyscaleException
dockerfile-generator/dockerfile-gen-services/src/main/java/io/hyscale/dockerfile/gen/services/generator/impl/DockerfileGeneratorImpl.java