{"id":16903782,"url":"https://github.com/dudiao/native-demo","last_synced_at":"2026-04-18T06:02:30.667Z","repository":{"id":150668621,"uuid":"452967524","full_name":"dudiao/native-demo","owner":"dudiao","description":"spring native demo","archived":false,"fork":false,"pushed_at":"2022-05-28T13:32:18.000Z","size":79,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-20T15:35:50.515Z","etag":null,"topics":["docker","graalvm","spring-boot","spring-native"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dudiao.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":"2022-01-28T06:49:12.000Z","updated_at":"2022-06-04T09:29:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"9ad62c7e-a111-4c08-b86c-eb32c89fe085","html_url":"https://github.com/dudiao/native-demo","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/dudiao/native-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dudiao%2Fnative-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dudiao%2Fnative-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dudiao%2Fnative-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dudiao%2Fnative-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dudiao","download_url":"https://codeload.github.com/dudiao/native-demo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dudiao%2Fnative-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31958468,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"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":["docker","graalvm","spring-boot","spring-native"],"created_at":"2024-10-13T18:28:21.010Z","updated_at":"2026-04-18T06:02:30.648Z","avatar_url":"https://github.com/dudiao.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# spring-native-demo\n\n`Spring Native`可以通过`GraalVM`将`SpringBoot`应用程序编译成原生镜像，本地编译的话需要的前置条件比较多，会遇到各种各样的坑，而且`GraalVM`现在还不支持 mac 的 m1 芯片。\n\n为了舒适的体验`Spring Native`，本示例使用了`GitHub Actions`自动构建 docker 镜像，并推送到 docker hub 上，直接使用如下命令：\n\n```\ndocker run -d -p 8080:8080 --name native-demo \\\n-v /opt/docker/nativedemo/logs:/workspace/logs \\\n-v /usr/share/zoneinfo/Asia/Shanghai:/etc/localtime \\\ndudiao/native-demo:0.0.1-SNAPSHOT\n```\n\n- 用户接口：`http://ip:8080/user/list`\n- 用户页面：`http://ip:8080/user`\n- 新增用户：`POST http://ip:8080/user/add`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdudiao%2Fnative-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdudiao%2Fnative-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdudiao%2Fnative-demo/lists"}