{"id":16813781,"url":"https://github.com/albertoimpl/hello-java21","last_synced_at":"2026-03-18T22:23:53.696Z","repository":{"id":219755179,"uuid":"749816123","full_name":"Albertoimpl/hello-java21","owner":"Albertoimpl","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-30T16:26:25.000Z","size":48,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-01T12:09:53.871Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","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/Albertoimpl.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":"2024-01-29T13:06:22.000Z","updated_at":"2024-01-30T15:49:06.000Z","dependencies_parsed_at":"2024-01-30T18:09:18.622Z","dependency_job_id":null,"html_url":"https://github.com/Albertoimpl/hello-java21","commit_stats":null,"previous_names":["albertoimpl/hello-java21"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Albertoimpl/hello-java21","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Albertoimpl%2Fhello-java21","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Albertoimpl%2Fhello-java21/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Albertoimpl%2Fhello-java21/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Albertoimpl%2Fhello-java21/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Albertoimpl","download_url":"https://codeload.github.com/Albertoimpl/hello-java21/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Albertoimpl%2Fhello-java21/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29188226,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T05:07:31.176Z","status":"ssl_error","status_checked_at":"2026-02-07T05:06:15.227Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":[],"created_at":"2024-10-13T10:27:49.038Z","updated_at":"2026-02-07T06:32:04.421Z","avatar_url":"https://github.com/Albertoimpl.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Getting sbom from a Docker image using cdxgen \n\n\n## Creating a base image to run the scenario\n```bash\ndocker build -t runtime -f runtime/Dockerfile .\n\ndocker run --privileged -it runtime bin/bash\n```\n\n## Start docker\n```bash\nservice cgroupfs-mount start\nservice docker start\n\ncd hello-java21\n```\n\n## Create Docker image using a Dockerfile\n```bash\n./gradlew assemble\ndocker build -t app-21 -f Dockerfile .\n```\n```bash\ncdxgen app-21:latest -o docker-bom.json -t docker\n```\n```text\nroot@5fe85f03d91d:/hello-java21## cdxgen app-21:latest -o docker-bom.json -t docker\nError while extracting image /tmp/docker-images-8ogAaL/41da1d066941ce0d755ea3fb38a91100b0ea8e0ef12d679f82f70abd9fc48fd1/layer.tar to /tmp/docker-images-8ogAaL/all-layers. Please file this bug to the cdxgen repo. https://github.com/CycloneDX/cdxgen/issues\n------------\nError: TAR_ENTRY_UNSUPPORTED: unsupported entry type: FIFO\n    at UnpackSync.warn (/tmp/caxa/applications/cdxgen/iahfz5li5i/0/node_modules/tar/lib/warn-mixin.js:21:40)\n    at UnpackSync.warn (/tmp/caxa/applications/cdxgen/iahfz5li5i/0/node_modules/tar/lib/unpack.js:229:18)\n    at [unsupported] (/tmp/caxa/applications/cdxgen/iahfz5li5i/0/node_modules/tar/lib/unpack.js:518:10)\n    at [onEntry] (/tmp/caxa/applications/cdxgen/iahfz5li5i/0/node_modules/tar/lib/unpack.js:347:33)\n    at UnpackSync.\u003canonymous\u003e (/tmp/caxa/applications/cdxgen/iahfz5li5i/0/node_modules/tar/lib/unpack.js:219:44)\n    at UnpackSync.emit (node:events:514:28)\n    at UnpackSync.emit (node:domain:489:12)\n    at [processEntry] (/tmp/caxa/applications/cdxgen/iahfz5li5i/0/node_modules/tar/lib/parse.js:248:12)\n    at [nextEntry] (/tmp/caxa/applications/cdxgen/iahfz5li5i/0/node_modules/tar/lib/parse.js:259:36)\n    at [consumeHeader] (/tmp/caxa/applications/cdxgen/iahfz5li5i/0/node_modules/tar/lib/parse.js:223:32) {\n  entry: ReadEntry {\n    _events: [Object: null prototype] {},\n    _eventsCount: 0,\n    _maxListeners: undefined,\n    writable: false,\n    readable: false,\n    extended: null,\n    globalExtended: null,\n    header: Header {\n      cksumValid: true,\n      needPax: false,\n      nullBlock: false,\n      block: null,\n      path: 'dev/initctl',\n      mode: 4480,\n      uid: 0,\n      gid: 0,\n      size: 0,\n      mtime: 2023-09-21T02:08:09.000Z,\n      cksum: 4864,\n      linkpath: '',\n      uname: '',\n      gname: '',\n      devmaj: 0,\n      devmin: 0,\n      atime: null,\n      ctime: null,\n      [Symbol(type)]: '6'\n    },\n    startBlockSize: 0,\n    blockRemain: 0,\n    remain: 0,\n    type: 'FIFO',\n    meta: false,\n    ignore: false,\n    path: 'dev/initctl',\n    mode: 384,\n    uid: 0,\n    gid: 0,\n    uname: '',\n    gname: '',\n    size: 0,\n    mtime: 2023-09-21T02:08:09.000Z,\n    atime: null,\n    ctime: null,\n    linkpath: '',\n    absolute: '/tmp/docker-images-8ogAaL/all-layers/dev/initctl',\n    unsupported: true,\n    [Symbol(kCapture)]: false,\n    [Symbol(flowing)]: true,\n    [Symbol(paused)]: false,\n    [Symbol(pipes)]: [],\n    [Symbol(buffer)]: [],\n    [Symbol(objectMode)]: false,\n    [Symbol(encoding)]: null,\n    [Symbol(async)]: false,\n    [Symbol(decoder)]: null,\n    [Symbol(EOF)]: true,\n    [Symbol(emittedEnd)]: true,\n    [Symbol(emittingEnd)]: false,\n    [Symbol(closed)]: false,\n    [Symbol(emittedError)]: null,\n    [Symbol(bufferLength)]: 0,\n    [Symbol(destroyed)]: false,\n    [Symbol(signal)]: undefined,\n    [Symbol(aborted)]: false\n  },\n  cwd: '/tmp/docker-images-8ogAaL/all-layers',\n  code: 'TAR_ENTRY_UNSUPPORTED',\n  tarCode: 'TAR_ENTRY_UNSUPPORTED'\n}\n```\n\n## Create Docker image using Buildpacks\n```bash\n./gradlew bootBuildImage\n\ncdxgen hello-java21:0.0.1-SNAPSHOT -o pack-docker-bom.json -t docker\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbertoimpl%2Fhello-java21","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falbertoimpl%2Fhello-java21","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbertoimpl%2Fhello-java21/lists"}