{"id":23207218,"url":"https://github.com/code-vedas/cpp-runner-image","last_synced_at":"2026-01-18T00:21:55.064Z","repository":{"id":268136432,"uuid":"903424320","full_name":"Code-Vedas/cpp-runner-image","owner":"Code-Vedas","description":"CPP Runner Image, comes in hand when used in CI/CD","archived":false,"fork":false,"pushed_at":"2025-01-22T19:33:21.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-10T21:49:03.156Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Code-Vedas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-14T15:10:27.000Z","updated_at":"2025-01-22T19:33:25.000Z","dependencies_parsed_at":"2024-12-14T16:28:58.060Z","dependency_job_id":"7f563f0e-1067-437b-bfd9-b911982c084c","html_url":"https://github.com/Code-Vedas/cpp-runner-image","commit_stats":null,"previous_names":["code-vedas/cpp-runner-image"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-Vedas%2Fcpp-runner-image","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-Vedas%2Fcpp-runner-image/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-Vedas%2Fcpp-runner-image/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-Vedas%2Fcpp-runner-image/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Code-Vedas","download_url":"https://codeload.github.com/Code-Vedas/cpp-runner-image/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247325696,"owners_count":20920715,"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":[],"created_at":"2024-12-18T17:18:25.912Z","updated_at":"2026-01-18T00:21:55.057Z","avatar_url":"https://github.com/Code-Vedas.png","language":"Dockerfile","readme":"# C++ Runner image for CI/CD\n\nThis image is based on the [C++ Docker image](https://hub.docker.com/_/gcc) and adds the following tools:\n- [CMake](https://cmake.org/)\n- [Catch2](https://github.com/catchorg/Catch2)\n- [gcovr](https://gcovr.com/en/stable/)\n\nThe image is intended to be used in CI/CD pipelines for C++ projects.\n\n## Usage\n\nThe image is available on ghcr.io and can be used in GitHub Actions workflows like this:\n\n```yaml\njobs:\n  build:\n    runs-on: ubuntu-latest\n    container:\n      image: ghcr.io/code-vedas/cpp-runner:latest\n    steps:\n```\n\n## Development\n\nTo build the image locally, run the following command:\n\n```bash\ndocker build -t cpp-runner .\n```\n\n### Building with specific versions\n\nThe image automatically uses the latest releases of CMake and Catch2 when built through GitHub Actions. For local builds, you can specify versions using build arguments:\n\n```bash\n# Build with specific versions\ndocker build --build-arg CMAKE_VERSION=v3.29.0 --build-arg CATCH2_VERSION=v3.7.1 -t cpp-runner .\n\n# Build with default versions (same as just docker build -t cpp-runner .)\ndocker build --build-arg CMAKE_VERSION=v4.0.3 --build-arg CATCH2_VERSION=v3.8.1 -t cpp-runner .\n```\n\nThe GitHub Actions workflow automatically fetches and uses the latest released versions of both dependencies.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-vedas%2Fcpp-runner-image","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcode-vedas%2Fcpp-runner-image","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-vedas%2Fcpp-runner-image/lists"}