{"id":16541204,"url":"https://github.com/itzg/try-spring-boot-with-jib","last_synced_at":"2026-05-29T20:31:24.056Z","repository":{"id":145318086,"uuid":"455700656","full_name":"itzg/try-spring-boot-with-jib","owner":"itzg","description":null,"archived":false,"fork":false,"pushed_at":"2022-02-04T21:29:50.000Z","size":60,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-20T13:44:31.781Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/itzg.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":"2022-02-04T21:23:37.000Z","updated_at":"2022-02-10T21:52:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"f155305f-415f-41bb-9dba-48567e69c19e","html_url":"https://github.com/itzg/try-spring-boot-with-jib","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/itzg/try-spring-boot-with-jib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itzg%2Ftry-spring-boot-with-jib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itzg%2Ftry-spring-boot-with-jib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itzg%2Ftry-spring-boot-with-jib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itzg%2Ftry-spring-boot-with-jib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itzg","download_url":"https://codeload.github.com/itzg/try-spring-boot-with-jib/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itzg%2Ftry-spring-boot-with-jib/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33670211,"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-05-29T02:00:06.066Z","response_time":107,"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-10-11T18:54:24.042Z","updated_at":"2026-05-29T20:31:24.028Z","avatar_url":"https://github.com/itzg.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"I couldn't easily find a full example of using the Jib Spring Boot Gradle extension, so this is one.\n\n## Usage\n\nBuild an image that is published into your Docker daemon:\n\n```shell\n./gradlew jibDockerBuild\n```\n\nRun that image:\n\n```shell\ndocker run -it --rm -p 8080:8080 try-spring-boot-with-jib:0.0.1-SNAPSHOT\n```\n\nCheck that it is running at \u003chttp://localhost:8080\u003e\n\n## Background\n\nWithout that extension applied, the Spring Boot devtools gets included in the built image. As a result, the devtools classloader will bootstrap as reported by the very first log:\n\n```\nClassLoader org.springframework.boot.devtools.restart.classloader.RestartClassLoader@5e076e79\n```\n\nand will try to expose the reload service, etc.\n\n## Failure scenarios\n\n### Missing jib-spring-boot-extension-gradle dependency\n\n```\n* What went wrong:\nExecution failed for task ':jibDockerBuild'.\n\u003e error running extension 'com.google.cloud.tools.jib.plugins.extension.NullExtension': extension configured but not discovered on Jib runtime classpath: com.google.cloud.tools.jib.gradle.extension.springboot.JibSpringBootExtension\n```\n\nAdd this at the **very top** of `build.gradle` before `plugins { ... }`\n\n```\nbuildscript {\n    dependencies {\n        classpath('com.google.cloud.tools:jib-spring-boot-extension-gradle:0.1.0')\n    }\n }\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitzg%2Ftry-spring-boot-with-jib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitzg%2Ftry-spring-boot-with-jib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitzg%2Ftry-spring-boot-with-jib/lists"}