{"id":20103806,"url":"https://github.com/ancientlore/goimg","last_synced_at":"2025-06-10T23:32:53.287Z","repository":{"id":144866875,"uuid":"356389551","full_name":"ancientlore/goimg","owner":"ancientlore","description":"Small image to use when CGO is disabled","archived":false,"fork":false,"pushed_at":"2025-02-13T03:47:35.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-13T04:28:02.770Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/ancientlore.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":"2021-04-09T20:21:33.000Z","updated_at":"2025-02-13T03:47:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"52337ad2-2475-4f4d-ba3f-783b8fee42c3","html_url":"https://github.com/ancientlore/goimg","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ancientlore%2Fgoimg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ancientlore%2Fgoimg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ancientlore%2Fgoimg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ancientlore%2Fgoimg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ancientlore","download_url":"https://codeload.github.com/ancientlore/goimg/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241543373,"owners_count":19979521,"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","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-11-13T17:38:34.571Z","updated_at":"2025-03-02T17:25:48.590Z","avatar_url":"https://github.com/ancientlore.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# goimg\n\nSmall Go image to use when CGO isn't needed.\n\n* Runs as a non-root user by default.\n* CA certificates are pulled from the [Common CA Database](https://www.ccadb.org/).\n* Time Zone database is pulled from the Go image (`zoneinfo.zip`).\n* Less than 1MB.\n* Home and temp directories are available.\n* You must use `CGO_ENABLED=0` to build, because no OS libraries are present.\n\n## Use the Image\n\nThe image is tagged with the major Go version because that indicates which `zoneinfo.zip` is included.\n\n    docker pull ancientlore/goimg:1.20\n\nPresumably you would put your Go binary into `/usr/bin` or `/bin`. A sample Dockerfile might be:\n\n    FROM golang:1.20 as builder\n    COPY . /go/test\n    WORKDIR /go/test\n    RUN CGO_ENABLED=0 go build -o /go/bin/test\n\n    FROM ancientlore/goimg:1.20\n    COPY --from=builder /go/bin/test /usr/bin/test\n    CMD [ \"/usr/bin/test\"]\n\n## Groups\n\n| ID    | Name    |\n|-------|---------|\n| 0     | root    |\n| 65532 | nonroot |\n\n## Users\n\n| ID    | Name    | Default |\n|-------|---------|---------|\n| 0     | root    | No      |\n| 65532 | nonroot | Yes     |\n\n## File System\n\n| Mode         | Group | User  | Size   | Path                              |\n|--------------|-------|-------|--------|-----------------------------------|\n| `drwxr-xr-x` | 0     | 0     |      0 | bin/                              |\n| `drwxr-xr-x` | 0     | 0     |      0 | etc/                              |\n| `-rw-r--r--` | 0     | 0     |     27 | etc/group                         |\n| `-rw-r--r--` | 0     | 0     |     91 | etc/passwd                        |\n| `drwxr-xr-x` | 0     | 0     |      0 | etc/ssl/                          |\n| `drwxr-xr-x` | 0     | 0     |      0 | etc/ssl/certs/                    |\n| `-rw-r--r--` | 0     | 0     | 227161 | etc/ssl/certs/ca-certificates.crt |\n| `-rw-r--r--` | 0     | 0     | 425884 | etc/zoneinfo.zip                  |\n| `drwx------` | 65532 | 65532 |      0 | home/                             |\n| `drwx------` | 0     | 0     |      0 | root/                             |\n| `drwxrwxrwt` | 0     | 0     |      0 | tmp/                              |\n| `drwxr-xr-x` | 0     | 0     |      0 | usr/                              |\n| `drwxr-xr-x` | 0     | 0     |      0 | usr/bin/                          |\n\n## Environment\n\n| Key      | Value             |\n|----------|-------------------|\n| PATH     | /usr/bin:/bin     |\n| ZONEINFO | /etc/zoneinfo.zip |\n| HOME     | /home             |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fancientlore%2Fgoimg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fancientlore%2Fgoimg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fancientlore%2Fgoimg/lists"}