{"id":13824035,"url":"https://github.com/aerth/godev","last_synced_at":"2026-05-03T21:33:01.250Z","repository":{"id":95082780,"uuid":"91392657","full_name":"aerth/godev","owner":"aerth","description":"go development container","archived":false,"fork":false,"pushed_at":"2020-05-06T18:12:18.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-30T11:57:38.865Z","etag":null,"topics":["development","development-environment","docker","golang","ide","tmux","vim"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/aerth/godev/","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/aerth.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}},"created_at":"2017-05-15T23:13:06.000Z","updated_at":"2020-05-06T18:22:23.000Z","dependencies_parsed_at":"2023-04-03T23:02:57.689Z","dependency_job_id":null,"html_url":"https://github.com/aerth/godev","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aerth/godev","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aerth%2Fgodev","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aerth%2Fgodev/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aerth%2Fgodev/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aerth%2Fgodev/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aerth","download_url":"https://codeload.github.com/aerth/godev/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aerth%2Fgodev/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32586187,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["development","development-environment","docker","golang","ide","tmux","vim"],"created_at":"2024-08-04T09:00:53.929Z","updated_at":"2026-05-03T21:33:01.234Z","avatar_url":"https://github.com/aerth.png","language":"Dockerfile","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# go development container\n\n  * vim-go (auto-complete and more)\n  * tmux\n  * bash\n  * gcc (builds CGO programs against musl lib)\n\n### debugging tools\n\n  * dlv\n  * valgrind\n  * gdb\n  * file\n\n### usage\n\nBy default, GoDev creates a directory to be shared with the container in `./data`, relative to current working directory. You may want to change this behavior.\n\nYou can also edit the launcher script to add port forwarding etc\n\nChange line 2 of the GoDev launcher script to this:\n\n`GODEV_SHARED_DIR=$PWD`\n\nOr always use the same directory, regardless of from where it is being ran.\n\n`export GODEV_SHARED_DIR=$HOME/src`\n\nNote: since you are user `root` in the container, we `chown` the shared dirctory when exiting the session. This could take a while or lead to unexpected results if the shared directory is not even owned by the user, for example, `/`.\n\nIt's safer to use a dedicated shared directory such as `$PWD/data` by using the GODEV_SHARED_DIR variable in ~/.bashrc or editing the GoDev launcher script.\n\n### installation\n  * `wget -O GoDev https://raw.githubusercontent.com/aerth/godev/master/GoDev`\n  * `chmod +x GoDev`\n\nfinally, move `GoDev` to `/usr/local/bin/` or somewhere in `$PATH`\n\n### notes\n\nNo point setting `CGO_ENABLED=0` by default.\nTo make static compiled non-cgo programs:\n\n  * `export CGO_ENABLED=0`\n\nOr:\n\n  * `export GOFLAGS=-tags=osusergo,netgo`\n\nOr if using CGO, something like this in your Makefile\n\n```\nbuildflags += --ldflags '-linkmode external -extldflags \"-static\"'\ntest:\n        go build -v $(buildflags) -o $@\n```\n\nThe image comes out to 1.25 GB\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faerth%2Fgodev","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faerth%2Fgodev","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faerth%2Fgodev/lists"}