Hi Vijay, I’ve been using the build_docker_image function of vagrant-onap [1] which basically is using the maven following maven instruction (plus proxy instructions):
$ mvn clean package docker:build –P docker Before that happens, it’s necessary to export a variable and build a project [2]. Regards/Saludos Victor Morales [1] https://git.onap.org/integration/tree/bootstrap/vagrant-onap/lib/functions#n219 [2] https://git.onap.org/integration/tree/bootstrap/vagrant-onap/lib/mso#n31 From: <[email protected]> on behalf of Vijay S <[email protected]> Date: Tuesday, August 22, 2017 at 1:21 AM To: "[email protected]" <[email protected]> Subject: [onap-discuss] [SO] Issue in generating SO docker image Hi Team, I tried to generate MSO docker image using below command mvn clean install -P docker -Dmso.git.url=https://gerrit.openecomp.org/r Facing below issue, kindly let me know any possible solution for this. [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 05:57 min [INFO] Finished at: 2017-08-21T10:53:59+00:00 [INFO] Final Memory: 162M/3232M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal io.fabric8:docker-maven-plugin:0.16.5:build (generate-images) on project docker: Unable to build image [openecomp/mso-arquillian:latest]: The command '/bin/sh -c chef-solo -c /var/berks-cookbooks/${CHEF_REPO_NAME}/solo.rb -o recipe[mso-config::apih],recipe[mso-config::bpmn],recipe[mso-config::jra]' returned a non-zero code: 1 -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :docker -- Regards, Vijay S.
_______________________________________________ onap-discuss mailing list [email protected] https://lists.onap.org/mailman/listinfo/onap-discuss
