aboutsummaryrefslogtreecommitdiffstats
path: root/it
diff options
context:
space:
mode:
authorZipeng WU <zipeng.wu@sonarsource.com>2022-03-24 14:18:50 +0100
committerzipeng-wu-sonarsource <68143726+zipeng-wu-sonarsource@users.noreply.github.com>2022-03-28 16:13:27 +0200
commit477e167f6b75a93d76931645b7b181dc829ce1a5 (patch)
tree779c090c88affcd346106c862c7f3451feb05051 /it
parent8c73aabed5dee00d5e184750984099b63aaf676a (diff)
downloadsonar-scanner-cli-477e167f6b75a93d76931645b7b181dc829ce1a5.tar.gz
sonar-scanner-cli-477e167f6b75a93d76931645b7b181dc829ce1a5.zip
SONAR-16183 Add java 17 in CI to sonar-scanner-maven
Diffstat (limited to 'it')
-rw-r--r--it/docker/Dockerfile_1721
1 files changed, 21 insertions, 0 deletions
diff --git a/it/docker/Dockerfile_17 b/it/docker/Dockerfile_17
new file mode 100644
index 0000000..7f17f1e
--- /dev/null
+++ b/it/docker/Dockerfile_17
@@ -0,0 +1,21 @@
+#------------------------------------------------------------------------------
+# Installs NodeJS, which is needed for running the Linux ITs.
+#
+# Build from the basedir:
+# docker build -f it/docker/Dockerfile-qa -t sonar-scanner-cli-qa it/docker
+#
+# Verify the content of the image by running a shell session in it:
+# docker run -it sonar-scanner-cli-qa bash
+#
+# CirrusCI builds the image when needed. No need to manually upload it to
+# Google Cloud Container Registry. See section "gke_container" of .cirrus.yml
+#------------------------------------------------------------------------------
+
+FROM us.gcr.io/sonarqube-team/base:j17-m3-latest
+
+USER root
+
+RUN curl -sL https://deb.nodesource.com/setup_10.x | bash -
+RUN apt-get install -y nodejs
+
+USER sonarsource