{"id":20060654,"url":"https://github.com/mossabtn/spring-native-example","last_synced_at":"2026-05-06T04:31:09.247Z","repository":{"id":120134558,"uuid":"350104140","full_name":"MossabTN/spring-native-example","owner":"MossabTN","description":null,"archived":false,"fork":false,"pushed_at":"2021-03-21T23:44:17.000Z","size":142,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-02T10:14:21.550Z","etag":null,"topics":["docker","graalvm","native-image","spring"],"latest_commit_sha":null,"homepage":"","language":"Java","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/MossabTN.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":"2021-03-21T19:57:25.000Z","updated_at":"2021-04-10T22:48:35.000Z","dependencies_parsed_at":"2024-06-24T03:00:16.324Z","dependency_job_id":null,"html_url":"https://github.com/MossabTN/spring-native-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MossabTN/spring-native-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MossabTN%2Fspring-native-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MossabTN%2Fspring-native-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MossabTN%2Fspring-native-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MossabTN%2Fspring-native-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MossabTN","download_url":"https://codeload.github.com/MossabTN/spring-native-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MossabTN%2Fspring-native-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32678568,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T02:33:58.958Z","status":"ssl_error","status_checked_at":"2026-05-06T02:33:39.611Z","response_time":117,"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","graalvm","native-image","spring"],"created_at":"2024-11-13T13:16:11.635Z","updated_at":"2026-05-06T04:31:09.220Z","avatar_url":"https://github.com/MossabTN.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Create a Spring Native Application\n\n## Requirements\n\nTo compile and run this demo you will need:\n- JDK 11\n- Maven\n- Docker\n\n## Setup \n\n###### Start spring application\n```bash\n$ mvn package spring-boot:run\n```\n\n###### Build the native application\n\n\u003e **Tip**: On MacOS, it is recommended to increase the memory allocated to Docker to at least **`8GB`**, and potentially add more CPUs as well. See this [**Stackoverflow answer**](https://stackoverflow.com/questions/44533319/how-to-assign-more-memory-to-docker-container/44533437#44533437) for more details. On Microsoft Windows, make sure to enable the [**Docker WSL 2 backend**](https://docs.docker.com/docker-for-windows/wsl/) for better performance\n\n```bash\n$ mvn spring-boot:build-image\n```\n\n###### Run the native application\n```bash\n$ docker run -p 8080:8080 spring-native-example:1.0.0\n```\n\n![alt text](sc.jpg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmossabtn%2Fspring-native-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmossabtn%2Fspring-native-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmossabtn%2Fspring-native-example/lists"}