Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DojoAssignmentChecker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dojo Project (HES-SO)
Projects
Pipelines
DojoAssignmentChecker
Commits
95138c36
Commit
95138c36
authored
10 months ago
by
joel.vonderwe
Browse files
Options
Downloads
Patches
Plain Diff
Add node to sonar docker
parent
1249b37e
No related branches found
No related tags found
No related merge requests found
Pipeline
#38946
passed
1 month ago
Stage: code_quality
Stage: test
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
AssignmentChecker/src/sharedByClients
+1
-1
1 addition, 1 deletion
AssignmentChecker/src/sharedByClients
sonar/Dockerfile
+6
-1
6 additions, 1 deletion
sonar/Dockerfile
with
7 additions
and
2 deletions
sharedByClients
@
047bc2e9
Compare
d15be9b1
...
047bc2e9
Subproject commit
d15be9b16181f5f172d51b13966e0e44bd34f55d
Subproject commit
047bc2e9e1c2ef6eed1c04806c2cba8e08bb1c3e
This diff is collapsed.
Click to expand it.
sonar/Dockerfile
+
6
−
1
View file @
95138c36
# Node needed to analyze JS/TS files
FROM
node:18-slim
AS
node_base
FROM
gcc:14
FROM
gcc:14
ARG
SONAR_HOST_URL=https://isc-sonar.edu.hesge.ch
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
# Download sonar tools
RUN
mkdir
-p
/sonar
&&
\
RUN
mkdir
-p
/sonar
&&
\
...
@@ -26,3 +29,5 @@ RUN mkdir -p /usr/src && \
...
@@ -26,3 +29,5 @@ RUN mkdir -p /usr/src && \
USER
sonar
USER
sonar
WORKDIR
/usr/src
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment