Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
docker-pre-commit
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
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
nimrod
docker-pre-commit
Commits
034b1a93
Commit
034b1a93
authored
5 years ago
by
nimrod
Browse files
Options
Downloads
Patches
Plain Diff
Added dockerfile-lint from Project Atomic.
parent
37e49127
Branches
master
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.pre-commit-config.yaml
+9
-0
9 additions, 0 deletions
.pre-commit-config.yaml
.pre-commit-hooks.yaml
+9
-0
9 additions, 0 deletions
.pre-commit-hooks.yaml
README.md
+2
-1
2 additions, 1 deletion
README.md
with
20 additions
and
1 deletion
.pre-commit-config.yaml
+
9
−
0
View file @
034b1a93
...
@@ -41,3 +41,12 @@ repos:
...
@@ -41,3 +41,12 @@ repos:
entry
:
docker-compose-config
entry
:
docker-compose-config
files
:
docker-compose
files
:
docker-compose
types
:
[
yaml
]
types
:
[
yaml
]
-
id
:
dockerfile-lint
name
:
dockerfile-lint
description
:
A rule based 'linter' for Dockerfiles
minimum_pre_commit_version
:
'
0.18.0'
language
:
docker_image
entry
:
projectatomic/dockerfile-lint dockerfile_lint
args
:
[
'
-f'
]
types
:
[
dockerfile
]
require_serial
:
true
This diff is collapsed.
Click to expand it.
.pre-commit-hooks.yaml
+
9
−
0
View file @
034b1a93
...
@@ -7,6 +7,15 @@
...
@@ -7,6 +7,15 @@
language
:
docker_image
language
:
docker_image
entry
:
adarnimrod/docker-pre-commit hadolint
entry
:
adarnimrod/docker-pre-commit hadolint
types
:
[
dockerfile
]
types
:
[
dockerfile
]
-
id
:
dockerfile-lint
name
:
dockerfile-lint
description
:
A rule based 'linter' for Dockerfiles
minimum_pre_commit_version
:
'
0.18.0'
language
:
docker_image
entry
:
projectatomic/dockerfile-lint dockerfile_lint
args
:
[
'
-f'
]
types
:
[
dockerfile
]
require_serial
:
true
-
id
:
docker-compose
-
id
:
docker-compose
name
:
docker-compose config
name
:
docker-compose config
description
:
Validate the Docker Compose file using docker-compose config
description
:
Validate the Docker Compose file using docker-compose config
...
...
This diff is collapsed.
Click to expand it.
README.md
+
2
−
1
View file @
034b1a93
...
@@ -18,10 +18,11 @@
...
@@ -18,10 +18,11 @@
```
yaml
```
yaml
-
repo
:
https://www.shore.co.il/git/docker-pre-commit
-
repo
:
https://www.shore.co.il/git/docker-pre-commit
rev
:
v0.
1
.0
rev
:
v0.
2
.0
hooks
:
hooks
:
-
id
:
hadolint
-
id
:
hadolint
-
id
:
docker-compose
-
id
:
docker-compose
-
id
:
dockerfile-lint
```
```
## License
## License
...
...
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