aboutsummaryrefslogtreecommitdiffstats
path: root/it/docker/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'it/docker/Dockerfile')
-rw-r--r--it/docker/Dockerfile21
1 files changed, 21 insertions, 0 deletions
diff --git a/it/docker/Dockerfile b/it/docker/Dockerfile
new file mode 100644
index 0000000..78df5f3
--- /dev/null
+++ b/it/docker/Dockerfile
@@ -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 gcr.io/ci-cd-215716/base:latest
+
+USER root
+
+RUN curl -sL https://deb.nodesource.com/setup_10.x | bash -
+RUN apt-get install -y nodejs
+
+USER sonarsource