{"id":19620018,"url":"https://github.com/bjartek/overflow-example-image","last_synced_at":"2025-10-09T05:41:42.698Z","repository":{"id":226595755,"uuid":"769129100","full_name":"bjartek/overflow-example-image","owner":"bjartek","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-13T09:19:50.000Z","size":77,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-09T11:12:48.006Z","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/bjartek.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-03-08T12:03:31.000Z","updated_at":"2024-03-08T12:09:40.000Z","dependencies_parsed_at":"2024-06-21T05:37:02.392Z","dependency_job_id":null,"html_url":"https://github.com/bjartek/overflow-example-image","commit_stats":null,"previous_names":["bjartek/overflow-example-image"],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjartek%2Foverflow-example-image","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjartek%2Foverflow-example-image/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjartek%2Foverflow-example-image/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjartek%2Foverflow-example-image/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bjartek","download_url":"https://codeload.github.com/bjartek/overflow-example-image/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240913539,"owners_count":19877781,"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-11T11:15:53.117Z","updated_at":"2025-10-09T05:41:37.646Z","avatar_url":"https://github.com/bjartek.png","language":"Go","readme":"# An example of building a docker image\n\n\nBuild a docker image with overflow that uses the new onflow/crypto 0.25.0 that requires CGO\n\n\nThis uses goreleaser to build the app and the ko plugin to build the image with ko. \n\nGithub actions will trigger on a tag pushed and build a new image an publis it. \n\n\n## Error with ko\n\nMy example is derived from the example here\nhttps://goreleaser.com/customization/ko/#example\n\nWhen using ko in goreleaser with an image built with CGO_ENABLED=1 (in main branch) i do not get a working image.\n\n```\ndocker-compose up\nPulling example (ghcr.io/bjartek/overflow-example-image:0.2.3)...\n0.2.3: Pulling from bjartek/overflow-example-image\n0d64d3736fe6: Already exists\n250c06f7c38e: Already exists\n76fca8495c8e: Pull complete\nDigest: sha256:f23cb9b574f90ee6123b24b45933cfca11764a600b44940e134d8862fdc8f55a\nStatus: Downloaded newer image for ghcr.io/bjartek/overflow-example-image:0.2.3\nRecreating overflow-example-image_example_1 ... done\nAttaching to overflow-example-image_example_1\nexample_1  | exec /ko-app/overflow-example-image: no such file or directory\noverflow-example-image_example_1 exited with code 1\n```\n\nHowever if i build it using CGO_ENABLED=0 it works in the branch (with-old-crypto)\n\n```\nStarting overflow-example-image_example_1 ... done\nAttaching to overflow-example-image_example_1\nexample_1  | foo\nexample_1  | ⭐ Script test run result:\"test\"\n``\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbjartek%2Foverflow-example-image","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbjartek%2Foverflow-example-image","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbjartek%2Foverflow-example-image/lists"}