{"id":42147850,"url":"https://github.com/peter-mount/scratch-base","last_synced_at":"2026-01-26T18:00:40.714Z","repository":{"id":85760475,"uuid":"137856995","full_name":"peter-mount/scratch-base","owner":"peter-mount","description":"A minimalistic docker image containing the essential files for static binaries to work with ssl \u0026 tzdata","archived":false,"fork":false,"pushed_at":"2020-03-03T16:16:43.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-06T21:38:39.100Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/peter-mount.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-06-19T07:40:11.000Z","updated_at":"2020-03-03T16:16:46.000Z","dependencies_parsed_at":"2023-05-04T17:47:09.043Z","dependency_job_id":null,"html_url":"https://github.com/peter-mount/scratch-base","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/peter-mount/scratch-base","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter-mount%2Fscratch-base","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter-mount%2Fscratch-base/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter-mount%2Fscratch-base/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter-mount%2Fscratch-base/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peter-mount","download_url":"https://codeload.github.com/peter-mount/scratch-base/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peter-mount%2Fscratch-base/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28784093,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T13:55:28.044Z","status":"ssl_error","status_checked_at":"2026-01-26T13:55:26.068Z","response_time":59,"last_error":"SSL_read: 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":"2026-01-26T18:00:22.222Z","updated_at":"2026-01-26T18:00:40.706Z","avatar_url":"https://github.com/peter-mount.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"This project is now deprecated\n\n# scratch-base\n\nA base docker image like scratch which contains the essential files/directories\nfrom alpine:latest needed by statically built binaries (e.g. golang) that need\nto make https/tls connections or current timezone data.\n\n## Files/Directories included\n* /etc/ssl\n* /etc/TZ\n* /etc/localtime\n\n/tmp is also created with modes 777 \u0026 +t so temporary files will also work.\n\n## Usage\n\nIn your multipart Dockerfile first compile your binaries then create the final\nimage with\n```\nFROM area51/scratch-base\nCOPY --from=build /src/dir/ /dest/dir/\n```\n\nwhere:\n* --from=build defines the alias of your build step image\n* /src/dir/ is the source directory in that image to copy\n* /dest/dir/ is the destination directory in this image\n\nFor example: I build static golang images so in docker I'd use:\n\n```\nFROM golang:alpine AS build\nRUN mkdir -p /dest/bin\n... build steps here, writing the built binaries into /dest/bin\n```\n\nThen the final image would be:\n```\nFROM area51/scratch-base\nCOPY --from=build /dest/ /\n```\n\nThe final image would then contain 2 layers, the first from this project and the\nsecond containing just your built binaries.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeter-mount%2Fscratch-base","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeter-mount%2Fscratch-base","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeter-mount%2Fscratch-base/lists"}