{"id":48479441,"url":"https://github.com/haixeefrontend/hbuilderx-docker","last_synced_at":"2026-04-07T08:03:43.510Z","repository":{"id":322735690,"uuid":"1090700483","full_name":"haixeefrontend/hbuilderx-docker","owner":"haixeefrontend","description":"DCloud HBuilderX (Linux) in Docker for CI use","archived":false,"fork":false,"pushed_at":"2026-04-07T06:48:55.000Z","size":66,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-04-07T07:23:26.010Z","etag":null,"topics":["docker-image","hbuilderx","uniapp","uniapp-cli"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/haixeefrontend.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-06T02:46:48.000Z","updated_at":"2026-04-07T06:28:25.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/haixeefrontend/hbuilderx-docker","commit_stats":null,"previous_names":["haixeefrontend/hbuilder-docker","haixeefrontend/hbuilderx-docker"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/haixeefrontend/hbuilderx-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haixeefrontend%2Fhbuilderx-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haixeefrontend%2Fhbuilderx-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haixeefrontend%2Fhbuilderx-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haixeefrontend%2Fhbuilderx-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/haixeefrontend","download_url":"https://codeload.github.com/haixeefrontend/hbuilderx-docker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haixeefrontend%2Fhbuilderx-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31504899,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["docker-image","hbuilderx","uniapp","uniapp-cli"],"created_at":"2026-04-07T08:03:37.963Z","updated_at":"2026-04-07T08:03:43.502Z","avatar_url":"https://github.com/haixeefrontend.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n    \u003ch1\u003eHBuilderX Linux Docker Image\u003c/h1\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n[![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/haixeefrontend/hbuilderx-docker/ci.yml?style=flat-square\u0026label=CI)](https://github.com/haixeefrontend/hbuilderx-docker/actions/workflows/ci.yml)\n[![GitHub Release](https://img.shields.io/github/v/release/haixeefrontend/hbuilderx-docker?style=flat-square)](https://github.com/haixeefrontend/hbuilderx-docker/releases/latest)\n\n\u003c/div\u003e\n\n这个仓库包含了用于构建 [HBuilderX](https://hx.dcloud.net.cn/) 的 [Linux](https://hx.dcloud.net.cn/Tutorial/install/linux-cli) 版本 Docker 镜像的配置文件和脚本。\n\n此外这个仓库包含了 GitHub Actions 工作流配置文件，用于在云端构建 Docker 镜像并发布到 GitHub Release。\n\n## 使用说明\n\n使用以下命令构建 Docker 镜像：\n\n```bash\ndocker build . -t hbuilderx:latest\n```\n\n构建 slim 版本的镜像，这个版本仅保留基础的编译到 app 包所需的工具：\n\n```bash\ndocker build --build-arg SLIM=true . -t hbuilderx:slim\n```\n\n构建完成后，可以使用 docker run 命令运行容器，并将项目目录挂载到容器中：\n\n```bash\ndocker run --rm -it \\\n    -v /path/to/your/project:/project \\\n    -w /project \\\n    hbuilderx:latest\n```\n\n当容器输出 `✅ HBuilderX started.`，表明 HBuilderX 在后台启动。\n此时可以运行 HBuilderX 编译命令，如导出 app 发布资源（需要登录）\n\n```bash\ncli user login --username \"\u003cemail\u003e\" --password \"\u003cpassword\u003e\"\ncli project open --path \"$(pwd)\"\ncli publish --platform APP --type appResource --project project\n```\n\n更多命令请参考 [HBuilderX CLI 文档](https://hx.dcloud.net.cn/cli/README)。\n\n## License\n\n本项目采用 AGPL-3.0 许可证，详情请参阅 [LICENSE](./LICENSE) 文件。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaixeefrontend%2Fhbuilderx-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaixeefrontend%2Fhbuilderx-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaixeefrontend%2Fhbuilderx-docker/lists"}