{"id":22475485,"url":"https://github.com/philips/golang-vendor-dockerfile-with-cache","last_synced_at":"2025-08-26T08:05:43.888Z","repository":{"id":66550464,"uuid":"281978727","full_name":"philips/golang-vendor-dockerfile-with-cache","owner":"philips","description":null,"archived":false,"fork":false,"pushed_at":"2020-07-23T17:53:56.000Z","size":55,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-14T03:42:58.575Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/philips.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":"2020-07-23T14:46:32.000Z","updated_at":"2023-11-16T14:33:03.000Z","dependencies_parsed_at":"2023-04-18T18:16:18.549Z","dependency_job_id":null,"html_url":"https://github.com/philips/golang-vendor-dockerfile-with-cache","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/philips/golang-vendor-dockerfile-with-cache","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philips%2Fgolang-vendor-dockerfile-with-cache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philips%2Fgolang-vendor-dockerfile-with-cache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philips%2Fgolang-vendor-dockerfile-with-cache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philips%2Fgolang-vendor-dockerfile-with-cache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/philips","download_url":"https://codeload.github.com/philips/golang-vendor-dockerfile-with-cache/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philips%2Fgolang-vendor-dockerfile-with-cache/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272192670,"owners_count":24889452,"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-08-26T02:00:07.904Z","response_time":60,"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":[],"created_at":"2024-12-06T13:17:33.482Z","updated_at":"2025-08-26T08:05:43.810Z","avatar_url":"https://github.com/philips.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go + vendor/ + cache\n\nThis is an attempt at a Go Dockerfile that caches as much as possible for fast builds. This came out of frustration trying to use https://skaffold.dev and sitting through buildtimes that felt like a C++ code base.\n\nSee the [Dockerfile](https://github.com/philips/golang-vendor-dockerfile-with-cache/blob/master/Dockerfile)!\n\n**Prior Art**\n- A [reddit thread](https://www.reddit.com/r/golang/comments/hj4n44/improved_docker_go_module_dependency_cache_for/) with a bunch of stuff but doesn't use vendor/\n- [Go 1.10 discussion thread](https://stackoverflow.com/questions/50520103/speeding-up-go-builds-with-go-1-10-build-cache-in-docker-containers) that uses old style vendor hacks\n- [Blog post](https://www.docker.com/blog/containerize-your-go-developer-environment-part-3/) on new `docker buildx` features that use the Go build cache as a volume but is experimental\n- [go mod download](https://medium.com/@petomalina/using-go-mod-download-to-speed-up-golang-docker-builds-707591336888) to speed up builds is helpful but I prefer to vendor everything\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilips%2Fgolang-vendor-dockerfile-with-cache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphilips%2Fgolang-vendor-dockerfile-with-cache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilips%2Fgolang-vendor-dockerfile-with-cache/lists"}