aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/Dockerfile.sonarcloud
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Dockerfile.sonarcloud')
-rw-r--r--scripts/Dockerfile.sonarcloud20
1 files changed, 20 insertions, 0 deletions
diff --git a/scripts/Dockerfile.sonarcloud b/scripts/Dockerfile.sonarcloud
new file mode 100644
index 000000000..e1f40a789
--- /dev/null
+++ b/scripts/Dockerfile.sonarcloud
@@ -0,0 +1,20 @@
+FROM --platform=linux/amd64 ubuntu:focal
+
+ENV DEBIAN_FRONTEND=noninteractive
+WORKDIR /workspace
+COPY Makefile versions.cmake ./
+COPY scripts scripts/
+
+RUN apt update && apt-get install -y \
+ make \
+ sudo \
+ curl \
+ git
+
+RUN curl -sL https://deb.nodesource.com/setup_18.x | sudo bash -
+
+RUN apt update && apt-get install -y \
+ nodejs \
+ unzip
+
+RUN make deps debug-tools \ No newline at end of file