{"id":22423467,"url":"https://github.com/prantlf/docker-golang-make","last_synced_at":"2026-02-08T13:39:01.247Z","repository":{"id":150431639,"uuid":"261229159","full_name":"prantlf/docker-golang-make","owner":"prantlf","description":"Docker image: Go language on Alpine Linux with Make","archived":false,"fork":false,"pushed_at":"2024-12-07T23:59:30.000Z","size":24,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-26T00:53:48.102Z","etag":null,"topics":["build","docker","docker-image","golang","make"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/repository/docker/prantlf/golang-make","language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/prantlf.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}},"created_at":"2020-05-04T15:52:19.000Z","updated_at":"2024-12-07T23:59:33.000Z","dependencies_parsed_at":"2025-03-27T05:41:22.316Z","dependency_job_id":"6c32d8ca-d1e1-47c0-ba6e-5f93a22809b3","html_url":"https://github.com/prantlf/docker-golang-make","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/prantlf/docker-golang-make","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prantlf%2Fdocker-golang-make","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prantlf%2Fdocker-golang-make/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prantlf%2Fdocker-golang-make/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prantlf%2Fdocker-golang-make/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prantlf","download_url":"https://codeload.github.com/prantlf/docker-golang-make/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prantlf%2Fdocker-golang-make/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269362622,"owners_count":24404586,"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-08T02:00:09.200Z","response_time":72,"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":["build","docker","docker-image","golang","make"],"created_at":"2024-12-05T18:11:27.092Z","updated_at":"2026-02-08T13:39:01.205Z","avatar_url":"https://github.com/prantlf.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# prantlf/golang-make\n\n[Docker] image: Go language on Alpine Linux with Make\n\n[This image] is supposed to build and test applications written in [Go]. They often use `make` as a build tool, which is added by this image. This image is built automatically on the top of the tag [`alpine`] from the [golang repository], so that it always runs the current version of [Go] in the latest [Alpine Linux]. [Make] has to be updated from time to time by triggering a new build manually.\n\nIf you have trouble pulling the image from the Docker's default hub.docker.com, try gitlab.com, where [this project] is primarily maintained: `registry.gitlab.com/prantlf/docker-golang-make`.\n\n## Tags\n\n- [`latest`], `1.19`, `1.17`, `1.16`, `1.15`, `1.14`\n\n## Install\n\n    docker pull prantlf/golang-make\n    # or a specific tag\n    docker pull prantlf/golang-make:1.15\n\n## Use\n\nJust like the image from the [golang repository]. You will be able to call `make` in addition to `go`. You can either create your own image based on this one, or you can use it directly to build a Go project. For example, build from sources in the current directory, where you have the `Makefile`:\n\n    docker run --rm -it -v \"${PWD}\":/work -w /work \\\n      prantlf/golang-make clean all\n\nIf you need to install some global dependencies, which `go build` does not do automatically, or if you need to execute `go generate`, you can introduce a special target `prepare` for these steps and insert it between `clean` and `all` to the command line, for example.\n\n## Build, Test and Publish\n\nThe local images are built as `golang-make` with the appropriate tags and pushed to the docker hub as `prantlf/golang-make` with the same tags.\n\n    # remove the old local images\n    make clean\n    # Check the syntax of the Dockerfiles\n    make lint\n    # update the local parent images\n    make pull\n    # build new local images and tag them\n    make build\n    # test the local images\n    make test\n    # enter an interactive shell inside a local image\n    make shell VERSION=latest\n    # run make using the created image\n    make run VERSION=latest\n    # login to the docker hub\n    make login\n    # push the local images to the docker hub\n    make push\n\n## License\n\nCopyright (c) 2020-2024 Ferdinand Prantl\n\nLicensed under the MIT license.\n\n[Docker]: https://www.docker.com/\n[This image]: https://hub.docker.com/repository/docker/prantlf/golang-make\n[this project]: https://gitlab.com/prantlf/docker-golang-make#prantlfgolang-make\n[`alpine`]: https://hub.docker.com/_/golang?tab=tags\n[`latest`]: https://hub.docker.com/repository/docker/prantlf/golang-make/tags\n[Go]: https://golang.org/\n[golang repository]: https://hub.docker.com/_/golang\n[Make]: https://www.gnu.org/software/make/\n[Alpine Linux]: https://alpinelinux.org/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprantlf%2Fdocker-golang-make","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprantlf%2Fdocker-golang-make","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprantlf%2Fdocker-golang-make/lists"}