ShiftLeftSecurity / sast-scan

Scan is a free & Open Source DevSecOps tool for performing static analysis based security testing of your applications and its dependencies. CI and Git friendly.
https://discord.gg/DCNxzaeUpd
Apache License 2.0
790 stars 110 forks source link

java container builds are failing with the below error #329

Closed prabhu closed 3 years ago

prabhu commented 3 years ago
 0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: sbt-downloads.cdnedge.bluemix.net
The command '/bin/sh -c curl -LO "https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-bin.zip"     && unzip -q gradle-${GRADLE_VERSION}-bin.zip -d /opt/     && chmod +x /opt/gradle-${GRADLE_VERSION}/bin/gradle     && rm gradle-${GRADLE_VERSION}-bin.zip     && curl -LO "https://downloads.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip"     && unzip -q apache-maven-${MAVEN_VERSION}-bin.zip -d /opt/     && chmod +x /opt/apache-maven-${MAVEN_VERSION}/bin/mvn     && rm apache-maven-${MAVEN_VERSION}-bin.zip     && curl -LO "https://sbt-downloads.cdnedge.bluemix.net/releases/v${SBT_VERSION}/sbt-${SBT_VERSION}.zip"     && unzip -q sbt-${SBT_VERSION}.zip -d /opt/     && chmod +x /opt/sbt/bin/sbt     && rm sbt-${SBT_VERSION}.zip     && curl -LO "https://github.com/koalaman/shellcheck/releases/download/v${SHELLCHECK_VERSION}/shellcheck-v${SHELLCHECK_VERSION}.linux.x86_64.tar.xz"     && tar -C /tmp/ -xvf shellcheck-v${SHELLCHECK_VERSION}.linux.x86_64.tar.xz     && cp /tmp/shellcheck-v${SHELLCHECK_VERSION}/shellcheck /usr/local/bin/shiftleft/shellcheck     && chmod +x /usr/local/bin/shiftleft/shellcheck     && curl -LO "https://github.com/dominikh/go-tools/releases/download/${SC_VERSION}/staticcheck_linux_amd64.tar.gz"     && tar -C /tmp -xvf staticcheck_linux_amd64.tar.gz     && chmod +x /tmp/staticcheck/staticcheck     && cp /tmp/staticcheck/staticcheck /usr/local/bin/shiftleft/staticcheck     && rm staticcheck_linux_amd64.tar.gz' returned a non-zero code: 6
##[error]The command '/bin/sh -c curl -LO "https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-bin.zip"     && unzip -q gradle-${GRADLE_VERSION}-bin.zip -d /opt/     && chmod +x /opt/gradle-${GRADLE_VERSION}/bin/gradle     && rm gradle-${GRADLE_VERSION}-bin.zip     && curl -LO "https://downloads.apache.org/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip"     && unzip -q apache-maven-${MAVEN_VERSION}-bin.zip -d /opt/     && chmod +x /opt/apache-maven-${MAVEN_VERSION}/bin/mvn     && rm apache-maven-${MAVEN_VERSION}-bin.zip     && curl -LO "https://sbt-downloads.cdnedge.bluemix.net/releases/v${SBT_VERSION}/sbt-${SBT_VERSION}.zip"     && unzip -q sbt-${SBT_VERSION}.zip -d /opt/     && chmod +x /opt/sbt/bin/sbt     && rm sbt-${SBT_VERSION}.zip     && curl -LO "https://github.com/koalaman/shellcheck/releases/download/v${SHELLCHECK_VERSION}/shellcheck-v${SHELLCHECK_VERSION}.linux.x86_64.tar.xz"     && tar -C /tmp/ -xvf shellcheck-v${SHELLCHECK_VERSION}.linux.x86_64.tar.xz     && cp /tmp/shellcheck-v${SHELLCHECK_VERSION}/shellcheck /usr/local/bin/shiftleft/shellcheck     && chmod +x /usr/local/bin/shiftleft/shellcheck     && curl -LO "https://github.com/dominikh/go-tools/releases/download/${SC_VERSION}/staticcheck_linux_amd64.tar.gz"     && tar -C /tmp -xvf staticcheck_linux_amd64.tar.gz     && chmod +x /tmp/staticcheck/staticcheck     && cp /tmp/staticcheck/staticcheck /usr/local/bin/shiftleft/staticcheck     && rm staticcheck_linux_amd64.tar.gz' returned a non-zero code: 6
##[error]The process '/usr/bin/docker' failed with exit code 6