{"id":20339143,"url":"https://github.com/nealfennimore/codeql-docker","last_synced_at":"2026-02-20T14:01:12.657Z","repository":{"id":141678024,"uuid":"345499738","full_name":"nealfennimore/codeql-docker","owner":"nealfennimore","description":"CodeQL Docker wrapper","archived":false,"fork":false,"pushed_at":"2025-11-24T09:05:29.000Z","size":55,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-27T21:43:18.904Z","etag":null,"topics":["codeql","codeql-cli","codeql-command","codeql-container","codeql-docker"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nealfennimore.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-03-08T01:46:26.000Z","updated_at":"2023-09-19T02:04:26.000Z","dependencies_parsed_at":"2023-12-20T18:24:45.898Z","dependency_job_id":"5cf78dcb-c508-42fc-8e53-f73df2c0b7ab","html_url":"https://github.com/nealfennimore/codeql-docker","commit_stats":null,"previous_names":[],"tags_count":122,"template":false,"template_full_name":null,"purl":"pkg:github/nealfennimore/codeql-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nealfennimore%2Fcodeql-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nealfennimore%2Fcodeql-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nealfennimore%2Fcodeql-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nealfennimore%2Fcodeql-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nealfennimore","download_url":"https://codeload.github.com/nealfennimore/codeql-docker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nealfennimore%2Fcodeql-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29653477,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-20T09:27:29.698Z","status":"ssl_error","status_checked_at":"2026-02-20T09:26:12.373Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["codeql","codeql-cli","codeql-command","codeql-container","codeql-docker"],"created_at":"2024-11-14T21:15:31.978Z","updated_at":"2026-02-20T14:01:12.641Z","avatar_url":"https://github.com/nealfennimore.png","language":"Dockerfile","readme":"# Docker CodeQL\n\nVersioned [CodeQL](https://github.com/github/codeql) and [CodeQL CLI](https://github.com/github/codeql-cli-binaries) container.\n\nSee [CodeQL CLI Manual](https://codeql.github.com/docs/codeql-cli/manual/) for commands.\n\n## Installation\n\n```sh\n# Using uncompiled base\ndocker pull ghcr.io/nealfennimore/codeql:latest\n\n# Using compiled language (cpp, csharp, csv, go, html, java, javascript, properties, python, xml supported)\ndocker pull ghcr.io/nealfennimore/codeql:javascript\ndocker pull ghcr.io/nealfennimore/codeql:go\ndocker pull ghcr.io/nealfennimore/codeql:cpp\n```\n\n### Building Locally\nIf you prefer to build locally instead of using a precompiled image\n```sh\ndocker build . \\\n    --build-arg CLI_VERSION=2.7.0 \\\n    --build-arg CODE_LANGUAGE=$CODE_LANGUAGE \\\n    --tag ghcr.io/nealfennimore/codeql:$CODE_LANGUAGE\n```\n## Usage\n\n### Shell\n\nTo drop to shell to work with codeql directly\n\n```sh\ndocker run --rm -it \\\n    -v ~/code/db:/tmp/db \\\n    -v ~/code/src:/tmp/src \\\n    -v ~/code/output:/tmp/output \\\n    ghcr.io/nealfennimore/codeql:$CODE_LANGUAGE bash\n\n# Then proceed to create database for the language:\ncodeql database create --language=$CODE_LANGUAGE --source-root /tmp/src /tmp/db\n\n# Analyze source code and generate report:\ncodeql database analyze /tmp/db $CODE_LANGUAGE-lgtm.qls --format=sarif-latest --output=/tmp/output/results.sarif\n```\n\n### Database\n\n#### Creation\n```sh\ndocker run --rm -it \\\n    -v ~/code/db:/tmp/db \\\n    -v ~/code/src:/tmp/src \\\n    ghcr.io/nealfennimore/codeql:$CODE_LANGUAGE \\\n    codeql database create --language=$CODE_LANGUAGE --source-root /tmp/src /tmp/db\n```\n\n#### Analyzing Source Code\n```sh\ndocker run --rm -it \\\n    -v ~/code/db:/tmp/db \\\n    -v ~/code/src:/tmp/src \\\n    -v ~/code/output:/tmp/output \\\n    ghcr.io/nealfennimore/codeql:$CODE_LANGUAGE \\\n    codeql database analyze /tmp/db $CODE_LANGUAGE-lgtm.qls \\ # Analyze with default query suites\n        --format=sarif-latest \\\n        --output=/tmp/output/results.sarif\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnealfennimore%2Fcodeql-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnealfennimore%2Fcodeql-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnealfennimore%2Fcodeql-docker/lists"}