{"id":19820403,"url":"https://github.com/ironpeakservices/iron-scratch","last_synced_at":"2025-09-13T21:35:05.381Z","repository":{"id":36414276,"uuid":"179642269","full_name":"ironpeakservices/iron-scratch","owner":"ironpeakservices","description":"Secure base image for running Go (or any other static) applications.","archived":false,"fork":false,"pushed_at":"2025-08-23T09:15:56.000Z","size":169,"stargazers_count":27,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-24T03:34:37.256Z","etag":null,"topics":["docker","go"],"latest_commit_sha":null,"homepage":"https://github.com/ironPeakServices/iron-scratch","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/ironpeakservices.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}},"created_at":"2019-04-05T08:09:22.000Z","updated_at":"2025-08-23T09:15:54.000Z","dependencies_parsed_at":"2023-12-01T08:37:57.557Z","dependency_job_id":"7575f907-bb9c-47d9-b033-7405a90c5a28","html_url":"https://github.com/ironpeakservices/iron-scratch","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/ironpeakservices/iron-scratch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ironpeakservices%2Firon-scratch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ironpeakservices%2Firon-scratch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ironpeakservices%2Firon-scratch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ironpeakservices%2Firon-scratch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ironpeakservices","download_url":"https://codeload.github.com/ironpeakservices/iron-scratch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ironpeakservices%2Firon-scratch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275030605,"owners_count":25393537,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-13T02:00:10.085Z","response_time":70,"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":["docker","go"],"created_at":"2024-11-12T10:23:09.350Z","updated_at":"2025-09-13T21:35:05.343Z","avatar_url":"https://github.com/ironpeakservices.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ironpeakservices/iron-scratch\n\nSecure base image for running statically compiled applications.\nThe default entrypoint is `/app`.\n\n`docker pull ghcr.io/ironpeakservices/iron-scratch/iron-scratch:1.0.0`\n\n\n## How is this different?\n\nThis is based on the empty scratch image, but contains additional things:\n- CA Certificates for verifying certificates ([location info](https://golang.org/src/crypto/x509/root_linux.go))\n- Timezone files\n- An unprivileged user\n\n## Example\n\n```dockerfile\nFROM golang:alpine AS builder\nENV GOOS=linux GOARCH=amd64 CGO_ENABLED=0\nRUN go build std\nCOPY main.go /\nRUN go build -trimpath -ldflags '-w -s -extldflags \"-static\"' -o /app /main.go\n\nFROM ghcr.io/ironpeakservices/iron-scratch/iron-scratch:1.0.0\nCOPY --from=builder /app /app\nENTRYPOINT [\"/app\"]\n```\n\n## Update policy\n\nUpdates to the official alpine docker image are automatically created as a pull request and trigger linting \u0026 a docker build.\nWhen those checks complete without errors, a merge into master will trigger a deploy with the same version to packages.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fironpeakservices%2Firon-scratch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fironpeakservices%2Firon-scratch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fironpeakservices%2Firon-scratch/lists"}