Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
ros3rag
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container 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
JastAdd
ros3rag
Commits
c9ce9aea
Commit
c9ce9aea
authored
2 years ago
by
René Schöne
Browse files
Options
Downloads
Patches
Plain Diff
install cloc, fix cloc-script when run in docker
parent
7eab3ff6
No related branches found
No related tags found
No related merge requests found
Pipeline
#14231
passed
2 years ago
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile
+1
-1
1 addition, 1 deletion
Dockerfile
cloc/run-cloc.sh
+2
-2
2 additions, 2 deletions
cloc/run-cloc.sh
with
3 additions
and
3 deletions
Dockerfile
+
1
−
1
View file @
c9ce9aea
FROM
openjdk:11
FROM
openjdk:11
ENV
DEBIAN_FRONTEND noninteractive
ENV
DEBIAN_FRONTEND noninteractive
RUN
apt-get update
&&
apt-get
install
-y
graphviz
&&
rm
-rf
/var/lib/apt/lists/
*
RUN
apt-get update
&&
apt-get
install
-y
graphviz
cloc
&&
rm
-rf
/var/lib/apt/lists/
*
ENV
HOME /home/user
ENV
HOME /home/user
RUN
useradd
--create-home
--home-dir
$HOME
user
\
RUN
useradd
--create-home
--home-dir
$HOME
user
\
...
...
This diff is collapsed.
Click to expand it.
cloc/run-cloc.sh
+
2
−
2
View file @
c9ce9aea
#!/
usr/
bin/bash
#!/bin/bash
shopt
-s
globstar
shopt
-s
globstar
if
[
]
if
[
]
...
@@ -7,7 +7,7 @@ then
...
@@ -7,7 +7,7 @@ then
else
else
# remove previous results
# remove previous results
rm
*
-result
.txt
rm
-f
*
-result
.txt
# --force-lang=Java,jrag --force-lang=Java,jadd
# --force-lang=Java,jrag --force-lang=Java,jadd
DEF_FILE
=
my_definitions.txt
DEF_FILE
=
my_definitions.txt
...
...
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