{"id":37144261,"url":"https://github.com/batect/batect-cache-init-image","last_synced_at":"2026-01-14T16:56:29.907Z","repository":{"id":47513032,"uuid":"244865492","full_name":"batect/batect-cache-init-image","owner":"batect","description":"Docker image that initialises cache volumes for Batect.","archived":true,"fork":false,"pushed_at":"2021-09-05T10:13:02.000Z","size":148,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-06-20T21:00:55.024Z","etag":null,"topics":["batect"],"latest_commit_sha":null,"homepage":"https://batect.dev","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/batect.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":null,"security":null,"support":null}},"created_at":"2020-03-04T09:59:18.000Z","updated_at":"2023-01-28T06:45:43.000Z","dependencies_parsed_at":"2022-08-23T23:10:48.703Z","dependency_job_id":null,"html_url":"https://github.com/batect/batect-cache-init-image","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/batect/batect-cache-init-image","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/batect%2Fbatect-cache-init-image","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/batect%2Fbatect-cache-init-image/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/batect%2Fbatect-cache-init-image/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/batect%2Fbatect-cache-init-image/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/batect","download_url":"https://codeload.github.com/batect/batect-cache-init-image/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/batect%2Fbatect-cache-init-image/sbom","scorecard":{"id":227185,"data":{"date":"2025-08-11","repo":{"name":"github.com/batect/batect-cache-init-image","commit":"f4aa9f379d63af4bcbaf3ac8272ab9d28c38dd14"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.2,"checks":[{"name":"Maintained","score":0,"reason":"project is archived","details":["Warn: Repository is archived."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/27 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":2,"reason":"dependency not pinned by hash detected -- score normalized to 2","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/workflow.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/batect/batect-cache-init-image/workflow.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/workflow.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/batect/batect-cache-init-image/workflow.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/workflow.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/batect/batect-cache-init-image/workflow.yml/main?enable=pin","Warn: downloadThenRun not pinned by hash: .github/workflows/workflow.yml:24","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 downloadThenRun dependencies pinned","Info:   1 out of   1 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/workflow.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/batect/.github/SECURITY.md:1","Info: Found linked content: github.com/batect/.github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/batect/.github/SECURITY.md:1","Info: Found text in security policy: github.com/batect/.github/SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 21 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T04:01:44.487Z","repository_id":47513032,"created_at":"2025-08-17T04:01:44.487Z","updated_at":"2025-08-17T04:01:44.487Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28427158,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T16:38:47.836Z","status":"ssl_error","status_checked_at":"2026-01-14T16:34:59.695Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["batect"],"created_at":"2026-01-14T16:56:28.975Z","updated_at":"2026-01-14T16:56:29.891Z","avatar_url":"https://github.com/batect.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# batect-cache-init-image\n\n:stop_sign: As of Batect 0.74.0, this image is no longer used and so has been deprecated. It is no longer maintained. \n\n---\n\n[![Build Status](https://img.shields.io/github/workflow/status/batect/batect-cache-init-image/Pipeline/main)](https://github.com/batect/batect-cache-init-image/actions?query=workflow%3APipeline+branch%3Amain)\n[![License](https://img.shields.io/github/license/batect/batect-cache-init-image.svg)](https://opensource.org/licenses/Apache-2.0)\n[![Chat](https://img.shields.io/badge/chat-on%20spectrum-brightgreen.svg)](https://spectrum.chat/batect)\n\nA Docker image that initialises cache volumes for [Batect](https://batect.dev).\n\n## Why is this necessary?\n\nDocker volumes have two major drawbacks when used for caches:\n\n* If they are empty (including if they've just been created), then everything in the target directory of the next container they're mounted into is copied into the volume - this is potentially time consuming and can lead to unexpected behaviour.\n\n* By default, they're mounted into the container with `root` as the owner, so if the container is running as a non-root user, it can't use the directory - which presents problems for containers running with Batect's ['run as current user' mode](https://batect.dev/docs/concepts/run-as-current-user-mode).\n\nBatect uses this image to initialise cache volumes before they're used by a user's containers:\n\n* If the volume is empty, it creates a dummy file (`.cache-init`) in the root of the volume to stop Docker copying the contents of the target container's directory into the volume.\n\n* If the target container is running with 'run as current user' mode, it sets the owner and group of the volume to the desired user so that the volume can be used successfully.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbatect%2Fbatect-cache-init-image","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbatect%2Fbatect-cache-init-image","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbatect%2Fbatect-cache-init-image/lists"}