{"id":20801925,"url":"https://github.com/philips-software/docker-sonar-scanner","last_synced_at":"2025-05-11T16:32:24.199Z","repository":{"id":36962804,"uuid":"248175261","full_name":"philips-software/docker-sonar-scanner","owner":"philips-software","description":"Sonar Scanner docker setup","archived":false,"fork":false,"pushed_at":"2023-10-06T15:34:27.000Z","size":93,"stargazers_count":0,"open_issues_count":3,"forks_count":2,"subscribers_count":6,"default_branch":"main","last_synced_at":"2023-10-06T16:36:50.275Z","etag":null,"topics":["docker-images","software-quality"],"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/philips-software.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null}},"created_at":"2020-03-18T08:22:44.000Z","updated_at":"2023-10-06T16:36:50.276Z","dependencies_parsed_at":"2023-01-17T08:46:48.024Z","dependency_job_id":null,"html_url":"https://github.com/philips-software/docker-sonar-scanner","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philips-software%2Fdocker-sonar-scanner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philips-software%2Fdocker-sonar-scanner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philips-software%2Fdocker-sonar-scanner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philips-software%2Fdocker-sonar-scanner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/philips-software","download_url":"https://codeload.github.com/philips-software/docker-sonar-scanner/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225075052,"owners_count":17416889,"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-images","software-quality"],"created_at":"2024-11-17T18:26:11.490Z","updated_at":"2025-05-11T16:32:24.190Z","avatar_url":"https://github.com/philips-software.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://github.com/philips-software/docker-sonar-scanner/workflows/build/badge.svg)](https://github.com/philips-software/docker-sonar-scanner/actions/)\n[![Slack](https://philips-software-slackin.now.sh/badge.svg)](https://philips-software-slackin.now.sh)\n\n\u003e ⚠️ This repository is no longer used. Please use nix to provision your builds.\n   \n# Docker images\n\nThis repo will contain docker images with the [Sonar Scanner](https://docs.sonarqube.org/latest/analysis/scan/sonarscanner/)\n\nCurrent versions available:\n\n```\n.\n├──4 \n│  └── Dockerfile\n```\n\n## Usage\n\nImages can be found on [https://hub.docker.com/r/philipssoftware/sonar-scanner/](https://hub.docker.com/r/philipssoftware/sonar-scanner/).\n\n``` bash\ndocker run -v (pwd):/root/src\n           -w /root/src\n           philipssoftware/sonar-scanner\n           sonar-scanner -Dsonar.login=\u003csonar-login-id-goes-here\u003e\n                         -Dsonar.host.url=\u003csonar-url\u003e\n```\n\nThe scanner will read the `sonar-project.properties` from your project.\n\n## Content\n\nThe images obviously contain sonar, node 16, python 2,3 and java 11, but also two other files:\n\n- `REPO`\n- `TAGS`\n\n### REPO\n\nThis file has a url to the REPO with specific commit-sha of the build.\nExample: \n\n```\n$ docker run philipssoftware/sonar-scanner cat REPO\nhttps://github.com/philips-software/docker-sonar-scanner/tree/facb2271e5a563e5d6f65ca3f475cefac37b8b6c\n```\n\n### TAGS\n\nThis contains all the similar tags at the point of creation. \n\n```\n$ docker run philipssoftware/sonar-scanner:4 cat TAGS\nsonar-scanner sonar-scanner:4 sonar-scanner:4.7 sonar-scanner:4.7.0 sonar-scanner:4.7.0.2747\n```\n\nYou can use this to pin down a version of the container from an existing development build for production. When using `sonar-scanner:4` for development. This ensures that you've got all security updates in your build. If you want to pin the version of your image down for production, you can use this file inside of the container to look for the most specific tag, the last one.\n\n## Simple Tags\n\n### sonar-scanner\n- `sonar-scanner`, `sonar-scanner:4`, `sonar-scanner:4.7`, `sonar-scanner:4.7.0`, `sonar-scanner:4.7.0.2747` [4/Dockerfile](4/Dockerfile)\n\n## Why\n\n\u003e Why do we have our own docker image definitions?\n\nWe often need some tools in a container for checking some things. F.e. [jq](https://stedolan.github.io/jq/), [aws-cli](https://aws.amazon.com/cli/) and [curl](https://curl.haxx.se/).\nWe can install this every time we need a container, but having this baked into a container seems a better approach.\n\nThat's why we want our own docker file definitions.\n\n## Known Issues\n\nNone\n\n## Issues\n\n- If you have an issue: report it on the [issue tracker](https://github.com/philips-software/docker-sonar-scanner/issues)\n\n## Author\n\n- Jeroen Knoops \u003cjeroen.knoops@philips.com\u003e\n- Gertjan Maaas \u003cgertjan.maas@philips.com\u003e\n\n## License\n\nLicense is MIT. See [LICENSE file](LICENSE.md)\n\n## Philips Forest\n\nThis module is part of the Philips Forest.\n\n```\n                                                     ___                   _\n                                                    / __\\__  _ __ ___  ___| |_\n                                                   / _\\/ _ \\| '__/ _ \\/ __| __|\n                                                  / / | (_) | | |  __/\\__ \\ |_\n                                                  \\/   \\___/|_|  \\___||___/\\__|  \n\n                                                                 Infrastructure\n```\n\nTalk to the forestkeepers in the `docker-images`-channel on Slack.\n\n[![Slack](https://philips-software-slackin.now.sh/badge.svg)](https://philips-software-slackin.now.sh)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilips-software%2Fdocker-sonar-scanner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphilips-software%2Fdocker-sonar-scanner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilips-software%2Fdocker-sonar-scanner/lists"}