{"id":19282274,"url":"https://github.com/accso/docker-clair","last_synced_at":"2026-06-13T13:34:37.584Z","repository":{"id":150176726,"uuid":"104761778","full_name":"accso/docker-clair","owner":"accso","description":null,"archived":false,"fork":false,"pushed_at":"2017-10-11T19:22:42.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-02-23T22:25:53.969Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/accso.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}},"created_at":"2017-09-25T14:37:24.000Z","updated_at":"2017-09-26T09:32:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"6a1546f6-77c4-4ef0-bfc2-02e931059414","html_url":"https://github.com/accso/docker-clair","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/accso/docker-clair","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/accso%2Fdocker-clair","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/accso%2Fdocker-clair/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/accso%2Fdocker-clair/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/accso%2Fdocker-clair/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/accso","download_url":"https://codeload.github.com/accso/docker-clair/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/accso%2Fdocker-clair/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34286975,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-09T21:26:01.379Z","updated_at":"2026-06-13T13:34:37.546Z","avatar_url":"https://github.com/accso.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-clair\n\nA simple container creating the Clair configuration file `/etc/clair/config.yaml` from\nenviroment settings on the fly and waiting for the PostgreSQL server to be up before Clair is started.\n\nBoth aspects (implemented using [dockerize](https://github.com/jwilder/dockerize)) come in handy \nwhen the container is used in a CI context (e.g. GitLab-CI) where\nmounting directories and waiting for services are not (easily) supported.\n\nThe container requires the following variables to be passed as environment settings:\n* `POSTGRESQL_HOSTNAME`: defaults to `postgres`\n* `POSTGRESQL_USERNAME`: defaults to `postgres`\n* `POSTGRESQL_PORT`: defaults to `5432`\n* `POSTGRESQL_WAIT`: defaults to `0` (time in seconds before the script tries to start Clair)\n* `POSTGRESQL_TIMEOUT`: defaults to `10` (time in seconds before dockerize gives up on PostgreSQL)\n* `PGPASSWORD`: no default\n* `CLAIR__UPDATE_INTERVAL`: defaults to `24` (time in hours before the vulnerability metadata is updated)\n\nNote that the setting `PGPASSWORD` is not specific to this container but is a general feature of \nthe PostgreSQL binaries.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faccso%2Fdocker-clair","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faccso%2Fdocker-clair","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faccso%2Fdocker-clair/lists"}