-
Bug
-
Resolution: Done
-
High
-
None
Build problem in build job: https://jenkins.onap.org/view/ccsdk/job/ccsdk-distribution-maven-docker-stage-master/
during installation of nodejs. In later lines of Dockerfile a nodejs install takes place. The file downloaded with "https://deb.nodesource.com/setup_10.x" is for debian an fails for alpine. Proposed change is to comment it out.
Offline testing indecated installed node with version 12.x
13:34:07 [ERROR] Failed to execute goal io.fabric8:docker-maven-plugin:0.28.0:build (generate-images) on project distribution-dgbuilder-docker: Unable to build image [onap/ccsdk-dgbuilder-image] : "The command '/bin/sh -c curl -sL https://deb.nodesource.com/setup_10.x | bash -' returned a non-zero code: 1" -> [Help 1] 13:34:07 org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal io.fabric8:docker-maven-plugin:0.28.0:build (generate-images) on project distribution-dgbuilder-docker: Unable to build image [onap/ccsdk-dgbuilder-image] : "The command '/bin/sh -c curl -sL https://deb.nodesource.com/setup_10.x | bash -' returned a non-zero code: 1" 13:34:07 at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215) 13:34:07 at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)