{"id":27603289,"url":"https://github.com/ggabriel96/cpp-on-docker","last_synced_at":"2026-04-25T12:36:05.194Z","repository":{"id":91846442,"uuid":"287971938","full_name":"ggabriel96/cpp-on-docker","owner":"ggabriel96","description":"Basic utility Docker images for C++ development and CI","archived":false,"fork":false,"pushed_at":"2020-08-25T00:49:29.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-22T19:14:57.325Z","etag":null,"topics":["clang-format","cpp","docker"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/repository/docker/ggabriel96/clang-format","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ggabriel96.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,"zenodo":null}},"created_at":"2020-08-16T15:33:42.000Z","updated_at":"2020-11-08T00:22:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"5d14b9cd-bf05-4594-943a-3b0cdb10875b","html_url":"https://github.com/ggabriel96/cpp-on-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ggabriel96/cpp-on-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ggabriel96%2Fcpp-on-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ggabriel96%2Fcpp-on-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ggabriel96%2Fcpp-on-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ggabriel96%2Fcpp-on-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ggabriel96","download_url":"https://codeload.github.com/ggabriel96/cpp-on-docker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ggabriel96%2Fcpp-on-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32262801,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T09:15:33.318Z","status":"ssl_error","status_checked_at":"2026-04-25T09:15:31.997Z","response_time":59,"last_error":"SSL_read: 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":["clang-format","cpp","docker"],"created_at":"2025-04-22T19:14:55.620Z","updated_at":"2026-04-25T12:36:05.186Z","avatar_url":"https://github.com/ggabriel96.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cpp-on-docker\n\nBasic utility Docker images for C++ development and CI\n\n## Available images\n\n### [`clang-format`](clang-format.Dockerfile)\n\n[![Publish on DockerHub][dockerhub-badge]](https://hub.docker.com/repository/docker/ggabriel96/clang-format)\n\n#### Usage\n\n`cd` into your project and run:\n\n```sh\ndocker run --rm -v $(pwd):/workspace/ -w /workspace/ ggabriel96/clang-format:latest \u003coptions\u003e \u003cfiles\u003e\n```\n\nWhere:\n\n- `\u003coptions\u003e` are options to be passed to `clang-format`, e.g. `--dry-run --verbose -Werror`\n- `\u003cfiles\u003e` are the files to be checked or formatted, e.g. `$(find . -name '*.hpp')`\n\nConversely, if you want to get into the container, run:\n\n```sh\ndocker run --rm -it -v $(pwd):/workspace/ -w /workspace/ --entrypoint sh ggabriel96/clang-format:latest\n```\n\nNote the `-it` flags and the `--entrypoint` option.\n\nFinally, if you want to directly apply the formatting, use the `-i` flag of `clang-format` and don't forget to use the\n`-u`/`--user` option of `docker run` so you don't end up with files owned by `root`. E.g.:\n\n```sh\ndocker run --rm -u $(id -u):$(id -g) -v $(pwd):/workspace/ -w /workspace/ ggabriel96/clang-format:latest -i --verbose $(find . -name '*.hpp')\n```\n\n[dockerhub-badge]: https://github.com/ggabriel96/cpp-on-docker/workflows/Publish%20on%20DockerHub/badge.svg?branch=main\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fggabriel96%2Fcpp-on-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fggabriel96%2Fcpp-on-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fggabriel96%2Fcpp-on-docker/lists"}