diff --git a/AssignmentChecker/src/sharedByClients b/AssignmentChecker/src/sharedByClients index d15be9b16181f5f172d51b13966e0e44bd34f55d..047bc2e9e1c2ef6eed1c04806c2cba8e08bb1c3e 160000 --- a/AssignmentChecker/src/sharedByClients +++ b/AssignmentChecker/src/sharedByClients @@ -1 +1 @@ -Subproject commit d15be9b16181f5f172d51b13966e0e44bd34f55d +Subproject commit 047bc2e9e1c2ef6eed1c04806c2cba8e08bb1c3e diff --git a/sonar/Dockerfile b/sonar/Dockerfile index cc163bca27eb2fff8d20660d501ccae283facbf3..dedd0807ccf99a448921e3f78de7a63124caf3f7 100644 --- a/sonar/Dockerfile +++ b/sonar/Dockerfile @@ -1,8 +1,11 @@ +# Node needed to analyze JS/TS files +FROM node:18-slim AS node_base + FROM gcc:14 ARG SONAR_HOST_URL=https://isc-sonar.edu.hesge.ch -RUN apt update && apt install -y curl unzip build-essential make g++ clang && apt clean +RUN apt update && apt install -y curl unzip build-essential make g++ clang git-core openssl libssl-dev && apt clean # Download sonar tools RUN mkdir -p /sonar && \ @@ -26,3 +29,5 @@ RUN mkdir -p /usr/src && \ USER sonar WORKDIR /usr/src +COPY --from=node_base /usr/local/bin /usr/local/bin +COPY --from=node_base /usr/local/lib/node_modules/npm /usr/local/lib/node_modules/npm