Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GR Build Images
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
Container Registry
Model registry
Operate
Environments
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ingo Meyer
GR Build Images
Commits
48e67be0
Commit
48e67be0
authored
2 years ago
by
Florian Rhiem
Browse files
Options
Downloads
Patches
Plain Diff
Use virtual env in code-style-check image
parent
d9413eb3
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
code-style-check/Dockerfile
+5
-1
5 additions, 1 deletion
code-style-check/Dockerfile
with
5 additions
and
1 deletion
code-style-check/Dockerfile
+
5
−
1
View file @
48e67be0
...
...
@@ -4,13 +4,17 @@ LABEL maintainer="Ingo Meyer <i.meyer@fz-juelich.de>"
ARG
CLANG_FORMAT_VERSION="13"
ARG
CMAKE_FORMAT_VERSION="0.6.7"
ENV
PATH="/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
RUN
apt-get update
&&
\
apt-get
install
-y
--no-install-recommends
"clang-format-
${
CLANG_FORMAT_VERSION
}
"
file git python3-pip
\
python3-setuptools python3-wheel
&&
\
python3-venv
python3-setuptools python3-wheel
&&
\
update-alternatives
--install
"/usr/bin/clang-format"
\
"clang-format"
\
"/usr/bin/clang-format-
${
CLANG_FORMAT_VERSION
}
"
\
1
&&
\
python3
-m
venv /venv
&&
\
python3
-m
pip
install
-U
pip setuptools wheel
&&
\
python3
-m
pip
install
"cmake_format==
${
CMAKE_FORMAT_VERSION
}
"
&&
\
rm
-rf
/var/lib/apt/lists/
*
...
...
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