-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update components and prepare release v0.8.0
Closes #35
- Loading branch information
Showing
10 changed files
with
61 additions
and
18 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Febin Rejoe <[email protected]> Muthiah |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,12 @@ | |
|
||
## Contributors | ||
|
||
* Febin Rejoe <[email protected]> | ||
* Horst Gutmann <[email protected]> | ||
* Marek Urban | ||
* Ming Xu <[email protected]> | ||
* Pontus Arfwedson <[email protected]> | ||
* Rekha Mittal <[email protected]> | ||
* Rune Engseth <[email protected]> | ||
|
||
## Third party components | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,34 @@ | ||
# ====================== | ||
# Global build arguments | ||
# ====================== | ||
ARG MAVEN_VERSION="3.6.0" | ||
ARG SONAR_SCANNER_CLI_VERSION="3.3.0.1492" | ||
ARG SONAR_SCANNER_MAVEN_PLUGIN_VERSION="3.6.0.1398" | ||
|
||
# ================================================= | ||
# Builder image (just for downloads / preparations) | ||
# ================================================= | ||
FROM debian:jessie as builder | ||
RUN apt-get -y update && apt-get -y install curl unzip | ||
ARG MAVEN_VERSION | ||
ARG SONAR_SCANNER_CLI_VERSION | ||
ARG SONAR_SCANNER_DOWNLOAD_URL="https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-${SONAR_SCANNER_CLI_VERSION}-linux.zip" | ||
RUN curl -s -L "${SONAR_SCANNER_DOWNLOAD_URL}" > "/tmp/sonar-scanner-cli-${SONAR_SCANNER_CLI_VERSION}-linux.zip" | ||
RUN echo "8e74b8ffc4239fbd81efe221b6c48d02a379507fd1e9d5371645d0cd779a68fae404af8a8ca74a035515ede8c0f139c0f230bfd6182b8415dad373be35e67550 /tmp/sonar-scanner-cli-${SONAR_SCANNER_CLI_VERSION}-linux.zip" | sha512sum -c | ||
RUN unzip -qq "/tmp/sonar-scanner-cli-${SONAR_SCANNER_CLI_VERSION}-linux.zip" -d "/data" | ||
RUN mv "/data/sonar-scanner-${SONAR_SCANNER_CLI_VERSION}-linux" "/data/sonar-scanner" | ||
RUN rm -f "/tmp/sonar-scanner-cli-${SONAR_SCANNER_CLI_VERSION}-linux.zip" | ||
|
||
ARG SONAR_SCANNER_DOWNLOAD_URL="https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-3.2.0.1227-linux.zip" | ||
RUN curl -s -L "${SONAR_SCANNER_DOWNLOAD_URL}" > "/tmp/sonar-scanner-cli-3.2.0.1227-linux.zip" | ||
RUN echo "17b5a39b2790c42d6894c8b56b866a4c7591f0fcf83d54aa46b7a3dd61e05c5030c99ea074b9d4338abe30387a71de302e4fda4b843e6e404f0c53c62f142a3b /tmp/sonar-scanner-cli-3.2.0.1227-linux.zip" | sha512sum -c | ||
RUN unzip -qq "/tmp/sonar-scanner-cli-3.2.0.1227-linux.zip" -d "/data" | ||
RUN mv "/data/sonar-scanner-3.2.0.1227-linux" "/data/sonar-scanner" | ||
RUN rm -f "/tmp/sonar-scanner-cli-3.2.0.1227-linux.zip" | ||
|
||
ARG MAVEN_DOWNLOAD_URL="http://ftp-stud.hs-esslingen.de/pub/Mirrors/ftp.apache.org/dist/maven/maven-3/3.6.0/binaries/apache-maven-3.6.0-bin.zip" | ||
RUN curl -s -L "${MAVEN_DOWNLOAD_URL}" > "/tmp/apache-maven-3.6.0-bin.zip" | ||
RUN echo "7d14ab2b713880538974aa361b987231473fbbed20e83586d542c691ace1139026f232bd46fdcce5e8887f528ab1c3fbfc1b2adec90518b6941235952d3868e9 /tmp/apache-maven-3.6.0-bin.zip" | sha512sum -c | ||
RUN unzip -qq "/tmp/apache-maven-3.6.0-bin.zip" -d "/data" | ||
RUN mv "/data/apache-maven-3.6.0" "/data/apache-maven" | ||
RUN rm -f "/tmp/apache-maven-3.6.0-bin.zip" | ||
ARG MAVEN_DOWNLOAD_URL="http://ftp-stud.hs-esslingen.de/pub/Mirrors/ftp.apache.org/dist/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.zip" | ||
RUN curl -s -L "${MAVEN_DOWNLOAD_URL}" > "/tmp/apache-maven-${MAVEN_VERSION}-bin.zip" | ||
RUN echo "7d14ab2b713880538974aa361b987231473fbbed20e83586d542c691ace1139026f232bd46fdcce5e8887f528ab1c3fbfc1b2adec90518b6941235952d3868e9 /tmp/apache-maven-${MAVEN_VERSION}-bin.zip" | sha512sum -c | ||
RUN unzip -qq "/tmp/apache-maven-${MAVEN_VERSION}-bin.zip" -d "/data" | ||
RUN mv "/data/apache-maven-${MAVEN_VERSION}" "/data/apache-maven" | ||
RUN rm -f "/tmp/apache-maven-${MAVEN_VERSION}-bin.zip" | ||
|
||
# =========== | ||
# Final image | ||
# =========== | ||
FROM openjdk:8u151-alpine | ||
RUN apk -f -q update \ | ||
&& apk -f -q add bash curl gawk git jq nodejs | ||
|
@@ -33,15 +47,19 @@ RUN ln -sf "/opt/apache-maven/bin/mvn" "/usr/local/bin/mvn" \ | |
&& ln -sf "/opt/apache-maven/bin/mvnDebug" "/usr/local/bin/mvnDebug" | ||
ENV M2_HOME="/opt/apache-maven" | ||
|
||
ARG SONAR_SCANNER_MAVEN_PLUGIN_VERSION | ||
RUN mvn -q org.apache.maven.plugins:maven-dependency-plugin:3.1.1:get \ | ||
-DrepoUrl="https://repo.maven.apache.org/maven2/" \ | ||
-Dartifact="org.sonarsource.scanner.maven:sonar-maven-plugin:3.5.0.1254:jar" | ||
-Dartifact="org.sonarsource.scanner.maven:sonar-maven-plugin:${SONAR_SCANNER_MAVEN_PLUGIN_VERSION}:jar" | ||
|
||
ENV PATH="/usr/local/bin:/usr/bin:/bin" | ||
|
||
LABEL maintainer="Benjamin P. Jung <[email protected]>" \ | ||
version="0.7.2" \ | ||
org.concourse-ci.target-version="4.2.1" \ | ||
version="0.8.0" \ | ||
maven.version="{MAVEN_VERSION}" \ | ||
sonar-scanner.cli.version="${SONAR_SCANNER_CLI_VERSION}" \ | ||
sonar-scanner.maven-plugin.version="${SONAR_SCANNER_MAVEN_PLUGIN_VERSION}" \ | ||
org.concourse-ci.target-version="4.2.2" \ | ||
org.concourse-ci.resource-id="sonarqube" \ | ||
org.concourse-ci.resource-name="SonarQube Static Code Analysis" \ | ||
org.concourse-ci.resource-homepage="https://github.com/cathive/concourse-sonarqube-resource" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters