Repository navigation
docker: add Cloudsmith Dockerfile template for Kaui 5.x - #358
Open
tungleduyxyz wants to merge 1 commit into
Open
tungleduyxyz wants to merge 1 commit into
tungleduyxyz wants to merge 1 commit into
Conversation
Add docker/templates/kaui/cloudsmith/Dockerfile.template, the Kaui counterpart of the Kill Bill cloudsmith template: a multi-stage build (base, shell, final) on JDK 21 / Tomcat 11 that needs no intermediate killbill/base or killbill/kaui:latest image. Kaui is downloaded from Maven Central, so no BuildKit secret is required. Kaui 4.x is not supported (javax.servlet does not deploy on Tomcat 11). Also build it in docker_ci, document it in docker/README.adoc and ignore the generated files. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2 of 4 tasks
Contributor
Author
Test resultsTested at
Kill Bill 0.25.4 was built locally from Not covered:
Note: the Kaui 5.0.4 WAR on Maven Central bundles engine gem 🤖 Generated with Claude Code |
tungleduyxyz
marked this pull request as ready for review
December 6, 2026 13:10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Kaui has no Docker release path any more: the
releaseworkflow is deprecated, and Kill Bill 0.25+ images moved to Cloudsmith. This adds the build piece for Kaui, mirroringdocker/templates/killbill/cloudsmith/Dockerfile.template.docker/templates/kaui/cloudsmith/Dockerfile.template: self-contained multi-stage build (base, shell, final) on JDK 21 / Tomcat 11, with a pinned__VERSION__. No intermediatekillbill/baseorkillbill/kaui:latestimage is needed. Kaui comes from Maven Central, so no BuildKit secret is required.docker_ci: builds the new template withKAUI_VERSION.docker/README.adoc: documents how to build it..gitignore: ignores the two generated files (cloudsmith/Dockerfile,tagged/kpm.yml).Kaui 4.x is not supported by this template. It uses
javax.servletand fails to deploy on Tomcat 11 (NoClassDefFoundError: javax/servlet/ServletContextListener). This is stated in the template header and the README.Not included
The release workflow that pushes the image to Cloudsmith. Like the Kill Bill one, it needs the Cloudsmith secrets and would live in
killbill-ee-profile; it can call this template. Follow-up.Test plan
Built locally (arm64) with
--target finalandKILLBILL_CLOUD_REF=master, then ran against Kill Bill 0.24.22 and MariaDB:adminreturns 302 to/tenants, no errors inkaui.outdocker_cibuild of the new step on amd64 (runs in this PR)Related: killbill/technical-support#346
🤖 Generated with Claude Code