{"id":18354487,"url":"https://github.com/alvarofpp/docker-linter","last_synced_at":"2026-05-12T07:40:28.199Z","repository":{"id":221075029,"uuid":"753369706","full_name":"alvarofpp/docker-linter","owner":"alvarofpp","description":"A docker image to ensure the code quality of my projects.","archived":false,"fork":false,"pushed_at":"2024-08-09T21:21:10.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-15T16:47:38.567Z","etag":null,"topics":["docker","docker-image","linter"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/alvarofpp/linter","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alvarofpp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-06T01:22:42.000Z","updated_at":"2024-08-09T21:21:13.000Z","dependencies_parsed_at":"2025-02-15T16:38:09.505Z","dependency_job_id":"016c1fed-1ae8-4c17-ba24-38ef06455681","html_url":"https://github.com/alvarofpp/docker-linter","commit_stats":null,"previous_names":["alvarofpp/docker-linter"],"tags_count":0,"template":false,"template_full_name":"alvarofpp/template-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvarofpp%2Fdocker-linter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvarofpp%2Fdocker-linter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvarofpp%2Fdocker-linter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvarofpp%2Fdocker-linter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alvarofpp","download_url":"https://codeload.github.com/alvarofpp/docker-linter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248137938,"owners_count":21053784,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-image","linter"],"created_at":"2024-11-05T22:04:14.732Z","updated_at":"2026-05-12T07:40:28.137Z","avatar_url":"https://github.com/alvarofpp.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker image with linters\n\n[![Docker Hub](https://img.shields.io/badge/-Docker_Hub-0062cc?style=for-the-badge\u0026logo=Docker\u0026logoColor=white)][docker-hub]\n\nIn this Docker image, you will find some linters for your projects.\n\n```shell\ndocker pull alvarofpp/linter:latest\n```\n\nLinters in this image and which command to invoke it:\n\n| Linter                          | Command                          | Config file       |\n|---------------------------------|----------------------------------|-------------------|\n| [Commit (git)][linter-commit]   | `lint-commit \u003ctarget_branch\u003e`    | `.commitlintrc`   |\n| [Dockerfile][linter-dockerfile] | `lint-dockerfile`                | `.hadolint.yaml`  |\n| [Markdown][linter-markdown]     | `lint-markdown`                  | `.markdownlintrc` |\n| [Python][linter-python]         | `lint-python`, `lint-python-fix` | `.ruff.toml`      |\n| [Shell script][linter-shell]    | `lint-shell-script`              | `.shellcheckrc`   |\n| [YAML][linter-yaml]             | `lint-yaml`                      | `.yamllint`       |\n\nYou can create a `.lint/` directory with your linters configs,\nexceptionally the `.shellcheckrc` file must be in the main directory.\n\n## How to use\n\n```shell\ndocker run --rm -v $(pwd):/app alvarofpp/linter \" \\\n  lint-commit origin/main \\\n  \u0026\u0026 lint-markdown \\\n  \u0026\u0026 lint-shell-script \\\n  \u0026\u0026 lint-yaml\"\n```\n\n## Manual test\n\nBuild the image:\n\n```shell\ndocker build -t alvarofpp/linter .\n```\n\nRun the command below to start using an image container for testing:\n\n```shell\ndocker run -it --rm -v $(pwd):/app alvarofpp/linter /bin/bash\n```\n\n[docker-hub]: https://hub.docker.com/r/alvarofpp/linter\n[linter-commit]: https://github.com/conventional-changelog/commitlint\n[linter-dockerfile]: https://github.com/hadolint/hadolint\n[linter-markdown]: https://github.com/igorshubovych/markdownlint-cli\n[linter-python]: https://github.com/astral-sh/ruff\n[linter-shell]: https://github.com/koalaman/shellcheck\n[linter-yaml]: https://github.com/adrienverge/yamllint\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falvarofpp%2Fdocker-linter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falvarofpp%2Fdocker-linter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falvarofpp%2Fdocker-linter/lists"}