{"id":29487591,"url":"https://github.com/zcyc/mise-dev-env","last_synced_at":"2026-02-07T17:31:34.738Z","repository":{"id":304125421,"uuid":"1017836730","full_name":"zcyc/mise-dev-env","owner":"zcyc","description":"Multi-language Development Environment Container (Based on mise + Docker)","archived":false,"fork":false,"pushed_at":"2025-07-11T07:25:50.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-11T10:54:37.886Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/zcyc.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,"zenodo":null}},"created_at":"2025-07-11T07:11:53.000Z","updated_at":"2025-07-11T07:26:06.000Z","dependencies_parsed_at":"2025-07-11T11:08:44.209Z","dependency_job_id":null,"html_url":"https://github.com/zcyc/mise-dev-env","commit_stats":null,"previous_names":["zcyc/mise-dev-env"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/zcyc/mise-dev-env","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zcyc%2Fmise-dev-env","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zcyc%2Fmise-dev-env/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zcyc%2Fmise-dev-env/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zcyc%2Fmise-dev-env/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zcyc","download_url":"https://codeload.github.com/zcyc/mise-dev-env/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zcyc%2Fmise-dev-env/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29201092,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T16:28:23.579Z","status":"ssl_error","status_checked_at":"2026-02-07T16:28:22.566Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":[],"created_at":"2025-07-15T09:13:56.270Z","updated_at":"2026-02-07T17:31:34.723Z","avatar_url":"https://github.com/zcyc.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Multi-language Development Environment Container (Based on mise + Docker)\n\n## Introduction\nThis container is based on Ubuntu and integrates [mise](https://github.com/jdx/mise) as a multi-language version management tool. It supports dynamic initialization of development environments for Node.js, Python, Go, etc., via the ENV_LANGS environment variable. All configuration is global (**not in the project directory**), and all shells/consoles can use the development tools directly.\n\n## Usage\n\n### 1. Build the image\n```sh\ndocker build -t dev-env .\n```\n\n### 2. Run the container and specify the required language environments\nFor example: Enable Node.js lts, Python 3.13, and Go 1.24 at the same time\n```sh\ndocker run -it \\\n  -e ENV_LANGS=\"node@lts python@3.13 go@1.24\" \\\n  dev-env\n```\n\n### 3. (Recommended) Use Host-side Cache to Speed Up mise\nTo speed up language installation and avoid repeated downloads, you can mount the host's mise cache directories into the container:\n\n```sh\ndocker run -it \\\n  -e ENV_LANGS=\"node@lts python@3.13 go@1.24\" \\\n  -v $HOME/.cache/mise:/root/.cache/mise \\\n  -v $HOME/.local/share/mise:/root/.local/share/mise \\\n  mise-dev-env\n```\n**Important:**\n- The cache directories **must be generated on a Linux host** (or from a previous run of this container). Do **not** use cache from macOS, as binaries downloaded on macOS are not compatible with Linux and will cause errors like `Exec format error`.\n- The first run on Linux will download all required binaries. Subsequent runs with the same cache will be much faster.\n\n### 4. After entering the container\nAll development tools are globally available, and you can use them directly in any shell/console:\n```sh\nnode -v\npython --version\ngo version\n```\n\n## Notes\n- The global mise config file is located at `/etc/mise/mise.toml` and is automatically generated by entrypoint.sh according to ENV_LANGS.\n- All development tools are installed globally via mise and are available in all shells.\n- You can extend the supported languages in ENV_LANGS as needed.\n- **Do not use macOS-generated mise cache in Linux containers!**\n\n---\nFor more customization or tools, please refer to the [mise official documentation](https://github.com/jdx/mise).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzcyc%2Fmise-dev-env","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzcyc%2Fmise-dev-env","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzcyc%2Fmise-dev-env/lists"}