mirror of
https://github.com/floci-io/floci.git
synced 2026-11-24 14:30:28 -05:00
* chore(docker): add Dockerfile.jvm-package for the local dev loop docker/Dockerfile runs Maven inside the build, so it re-resolves every dependency and wants a couple of gigabytes. Iterating on a change through it is slow and can fall over on a machine with little headroom. This is the JVM counterpart to Dockerfile.native-package: it consumes the target/quarkus-app an ordinary ./mvnw package already produced, which takes seconds. The runtime half is identical to stage 2 of docker/Dockerfile, which stays the canonical definition. * fix(docker): mirror the canonical runtime stage in Dockerfile.jvm-package The new file said it mirrored stage 2 of docker/Dockerfile and did not. It dropped the EXPOSE 6379-6399 block, which exists for the docker-java compatibility workaround in #2095, so an image that looked equivalent published a different port set to anything reading image metadata for those dynamically assigned Redis and ElastiCache ports. Two smaller divergences went with it: an explicit bash install, which is redundant because eclipse-temurin:25-jre-noble already ships bash 5.2.21, and a cli_follow_urlparam setting that belongs to the canonical file and is not there yet. The runtime stanza is now a copy of the canonical one with exactly two lines changed, the version default and where the application directory is copied from, and DockerfileRuntimeParityTest holds it there: it compares the two stages line for line, comments included, and allows only those two substitutions. Removing a single EXPOSE line fails it with the line that drifted.