Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
scitas-software-stacks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SCITAS
Software stack
scitas-software-stacks
Commits
04badfa5
Commit
04badfa5
authored
3 months ago
by
Nicolas Richart
Committed by
Nicolas Richart
1 week ago
Browse files
Options
Downloads
Patches
Plain Diff
Linting dockerfiles
parent
32a44962
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.hadolint.yaml
+5
-1
5 additions, 1 deletion
.hadolint.yaml
dockerfiles/deploy/Dockerfile
+1
-1
1 addition, 1 deletion
dockerfiles/deploy/Dockerfile
dockerfiles/rhel9-kuma/Dockerfile
+1
-1
1 addition, 1 deletion
dockerfiles/rhel9-kuma/Dockerfile
with
7 additions
and
3 deletions
.hadolint.yaml
+
5
−
1
View file @
04badfa5
---
failure-threshold
:
"
style"
# name of threshold level (error | warning | info | style | ignore | none)
format
:
"
codeclimate"
# Output format (tty | json | checkstyle | codeclimate | gitlab_codeclimate | gnu | codacy)
ignored
:
[
"
DL3041"
]
# list of rules
ignored
:
-
"
DL3008"
# Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`
-
"
DL3033"
# Specify version with `yum install -y <package>-<version>`.
-
"
DL3041"
# Specify version with dnf install -y <package>-<version>
no-color
:
false
# true | false
strict-labels
:
true
# true | false
trustedRegistries
:
-
"
registry.hpc.epfl.ch"
# registry or list of registries
-
"
registry.c4science.ch"
-
"
docker.io"
This diff is collapsed.
Click to expand it.
dockerfiles/deploy/Dockerfile
+
1
−
1
View file @
04badfa5
FROM
debian:12-slim
RUN
apt
-qq
update
&&
apt
-qq
-y
install
\
RUN
apt
-get
-qq
update
&&
apt
-get
-qq
-y
install
--no-install-recommends
\
squashfuse fuse3 rsync
\
&&
rm
-rf
/var/lib/apt/lists/
*
This diff is collapsed.
Click to expand it.
dockerfiles/rhel9-kuma/Dockerfile
+
1
−
1
View file @
04badfa5
...
...
@@ -26,7 +26,7 @@ RUN yum install -y --enablerepo=$APPSTREAM_REPO \
python3 python3-pip python3-setuptools python3-boto3
\
git subversion mercurial
\
ninja-build
\
libglvnd-devel
libglvnd-devel
\
glibc-gconv-extra
\
libatomic
\
squashfs-tools
\
...
...
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