{"id":12289,"date":"2026-05-19T21:19:00","date_gmt":"2026-05-20T02:19:00","guid":{"rendered":"https:\/\/www.rushworth.us\/lisa\/?p=12289"},"modified":"2026-05-20T10:21:51","modified_gmt":"2026-05-20T15:21:51","slug":"docker-for-java-builds","status":"publish","type":"post","link":"https:\/\/www.rushworth.us\/lisa\/?p=12289","title":{"rendered":"Docker for Java Builds"},"content":{"rendered":"\n<p>Instead of flipping back and forth between java versions for various builds, you can just use a docker container for the proper Java version to run the build. <\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n&#x5B;lisa@docker kafka-ui]# docker run --rm -it   --user $(id -u):$(id -g)   -v &quot;$PWD&quot;:\/workspace   -w \/workspace   eclipse-temurin:25   bash -lc &#039;.\/gradlew clean build&#039;\nDownloading https:\/\/services.gradle.org\/distributions\/gradle-9.2.0-bin.zip\n............10%.............20%.............30%.............40%.............50%.............60%.............70%.............80%.............90%.............100%\n\nWelcome to Gradle 9.2.0!\n\nHere are the highlights of this release:\n - Windows ARM support\n - Improved publishing APIs\n - Better guidance for dependency verification failures\n\nFor more details see https:\/\/docs.gradle.org\/9.2.0\/release-notes.html\n\nStarting a Gradle Daemon (subsequent builds will be faster)\n&lt;=============&gt; 100% CONFIGURING &#x5B;1m 46s]\n&gt; Resolve dependencies of :api:detachedConfiguration273\n\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>Instead of flipping back and forth between java versions for various builds, you can just use a docker container for the proper Java version to run the build.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1547],"tags":[231,2199,578],"class_list":["post-12289","post","type-post","status-publish","format-standard","hentry","category-java","tag-docker","tag-gradle","tag-java"],"_links":{"self":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/12289","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=12289"}],"version-history":[{"count":1,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/12289\/revisions"}],"predecessor-version":[{"id":12290,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/12289\/revisions\/12290"}],"wp:attachment":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12289"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=12289"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=12289"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}