{"id":23380789,"url":"https://github.com/softonic/get-compose-images","last_synced_at":"2026-05-02T04:34:27.017Z","repository":{"id":66182953,"uuid":"236713637","full_name":"softonic/get-compose-images","owner":"softonic","description":"It returns a JSON structure with the images to build in the equivalent `docker-compose xxxx build` command","archived":false,"fork":false,"pushed_at":"2020-02-06T13:06:18.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-08T07:43:56.377Z","etag":null,"topics":["build","docker","docker-compose"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/repository/docker/softonic/get-compose-images","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/softonic.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":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-28T10:53:16.000Z","updated_at":"2020-02-06T13:02:34.000Z","dependencies_parsed_at":"2023-02-23T01:15:40.095Z","dependency_job_id":null,"html_url":"https://github.com/softonic/get-compose-images","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/softonic/get-compose-images","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softonic%2Fget-compose-images","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softonic%2Fget-compose-images/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softonic%2Fget-compose-images/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softonic%2Fget-compose-images/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/softonic","download_url":"https://codeload.github.com/softonic/get-compose-images/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softonic%2Fget-compose-images/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32523426,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T01:12:54.858Z","status":"online","status_checked_at":"2026-05-02T02:00:05.923Z","response_time":132,"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":["build","docker","docker-compose"],"created_at":"2024-12-21T20:18:36.128Z","updated_at":"2026-05-02T04:34:26.990Z","avatar_url":"https://github.com/softonic.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# get-compose-images\n\nIt returns a JSON structure with the images to build in the equivalent `docker-compose xxxx build` command.\n\nThis is useful to detect what are the images to build and use this info anywhere, for example for asynchronous\nimage scan.\n\n## Usage\n\nYou need to execute the image mounting the desired file or directory that contains the docker compose data and the\nenvironment parameters you need for the expected compose output.\n\nFor example:\n\n```bash\ndocker run --rm \\\n  -v ${PWD}:/code:ro -it \\\n  -e COMPOSE_FILE=docker-compose.sample.yml \\\n  -e VERSION=1.0.0-test \\\n  -e NGINX_VERSION=3.4.5\n  softonic/get-compose-images:latest\n```\n\n```json\n[\n  {\n    \"service\": \"docs\",\n    \"image\": \"my.registry.io/magic-api/docs:1.0.0-test\",\n    \"dockerfile\": \"docker/docs/Dockerfile\"\n  },\n  {\n    \"service\": \"nginx\",\n    \"image\": \"my.registry.io/magic-api/nginx:3.4.5\",\n    \"dockerfile\": \"docker/nginx/Dockerfile\"\n  },\n  {\n    \"service\": \"php-fpm\",\n    \"image\": \"my.registry.io/magic-api/php-fpm:1.0.0-test\",\n    \"dockerfile\": \"docker/php-fpm/Dockerfile\"\n  }\n]\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftonic%2Fget-compose-images","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoftonic%2Fget-compose-images","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftonic%2Fget-compose-images/lists"}