{"id":13451510,"url":"https://github.com/liyue201/lotus-docker","last_synced_at":"2026-06-04T12:31:21.049Z","repository":{"id":99110813,"uuid":"303254634","full_name":"liyue201/lotus-docker","owner":"liyue201","description":"lotus docker 镜像构建","archived":false,"fork":false,"pushed_at":"2021-01-13T08:44:46.000Z","size":15,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-05T07:28:58.491Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","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/liyue201.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-10-12T02:12:41.000Z","updated_at":"2022-12-26T12:26:16.000Z","dependencies_parsed_at":"2023-06-03T20:45:22.418Z","dependency_job_id":null,"html_url":"https://github.com/liyue201/lotus-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/liyue201/lotus-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liyue201%2Flotus-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liyue201%2Flotus-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liyue201%2Flotus-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liyue201%2Flotus-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liyue201","download_url":"https://codeload.github.com/liyue201/lotus-docker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liyue201%2Flotus-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33905358,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-04T02:00:06.755Z","response_time":64,"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-07-31T07:00:54.990Z","updated_at":"2026-06-04T12:31:21.029Z","avatar_url":"https://github.com/liyue201.png","language":"Shell","funding_links":[],"categories":["部署"],"sub_categories":[],"readme":"# lotus-docker\n\n本仓库用于构建lotus docker镜像，包含 `lotus`、 `lotus-miner`、 `lotus-worker`三个组件。\n其中lotus的版本号在`Makefile`文件的第一行中指定。\n\n## Build docker image\n由于墙内网络太慢，所以将`Dockerfile`拆分成了三个文件。 `lotus-build-env.dockerfile`（编译环境基础镜像）和`lotus-runtime.dockerfile`（运行环境基础镜像）已经提交到`hub.docker`。\n\n只要执行下面这条命令就可以了\n```\nmake build\n```\n\n这个过程中会从github下载lotus源码，如果网速太慢，可以从别处将下载好的`lotus`代码拷贝到本目录.\n再修改`lotus.dockerfile`文件中的\n```\nRUN git clone https://github.com/filecoin-project/lotus.git --depth 1 --branch $BRANCH\n```\n改成\n```\nADD lotus /go/lotus\n```\n\n## Run lotus daemon\n\n```\nmake run \n```\n\n## Stop lotus daemon\n\n```\nmake stop \n```\n\n## Show lotus's log\n\n```\nmake log \n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliyue201%2Flotus-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliyue201%2Flotus-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliyue201%2Flotus-docker/lists"}