{"id":20780927,"url":"https://github.com/jarppe/hello-graal","last_synced_at":"2026-05-14T23:35:34.635Z","repository":{"id":137206634,"uuid":"211373688","full_name":"jarppe/hello-graal","owner":"jarppe","description":"Simple Clojure HTTP server in 9MB docker image with GraalVM","archived":false,"fork":false,"pushed_at":"2021-09-10T10:26:26.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-11T22:34:30.097Z","etag":null,"topics":["clojure","docker","graalvm"],"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/jarppe.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":"2019-09-27T17:51:31.000Z","updated_at":"2021-09-10T10:26:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"01695874-4542-4e81-b32b-d0030bc628d8","html_url":"https://github.com/jarppe/hello-graal","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jarppe/hello-graal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jarppe%2Fhello-graal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jarppe%2Fhello-graal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jarppe%2Fhello-graal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jarppe%2Fhello-graal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jarppe","download_url":"https://codeload.github.com/jarppe/hello-graal/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jarppe%2Fhello-graal/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270877280,"owners_count":24661121,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-17T02:00:09.016Z","response_time":129,"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":["clojure","docker","graalvm"],"created_at":"2024-11-17T13:40:09.049Z","updated_at":"2026-05-14T23:35:29.592Z","avatar_url":"https://github.com/jarppe.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Clojure HTTP server in 36.6MB docker image with GraalVM\n\nThis repo is mainly just a documentation for my self on how to \nuse [GraalVM](https://www.graalvm.org) to package a \n[Clojure](https://clojure.org/) app as \n[native image](https://www.graalvm.org/reference-manual/native-image/).\n\n\n## Setup\n\nFor simplicity all work is done in [Docker](https://docker.com/) containers.\n\nThe image size is 36.6MB and it starts in about 300ms:\n\n```bash\n$ docker pull jarppe/hello-graal:latest\n$ echo $(date +%Y-%m-%dT%T.%N) \": starting server\" ; docker run --rm jarppe/hello-graal:latest\n2021-09-10T09:10:34.074616357 : starting server\n2021-09-10T09:10:34.390173 : server starting...\n2021-09-10T09:10:34.391045 : server ready\n```\n\nThe native image itself is 18MB and starts in about 3ms. \n\n```bash\n$ echo $(date +%Y-%m-%dT%T.%N) \": starting server\" ; ./app \n2021-09-10T09:59:01.252101422 : starting server\n2021-09-10T09:59:01.255403 : server starting...\n2021-09-10T09:59:01.255925 : server ready\n``` \n\nThe above was tested in [GCP](https://cloud.google.com/) \n[c2-standard-4](https://cloud.google.com/compute/docs/compute-optimized-machines#c2_vms) instance\nwith 4 Intel Cascade Lake CPU and 16GB RAM.\n\n\n## Build\n\n```bash\njust build-base\njust build\n```\n\n\n## Run\n\n```bash\njust run\n```\n\n\n# License\n\nCopyright © 2019-2021 Jarppe Länsiö\nAvailable under the terms of the Eclipse Public License 2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjarppe%2Fhello-graal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjarppe%2Fhello-graal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjarppe%2Fhello-graal/lists"}