No more Dockerfile with Jib + Spring Boot plugin

Published: 02 December 2021
on channel: Tom Gregory Tech
7,538
178

Are you still using a Dockerfile to build your application's Docker image?

Don't waste your effort any longer by using the Jib and Spring Boot plugins to generate the image for you. You'll use less storage and save time thanks to layering support. In this video you'll see a comparison of how both options work in a Java project built with Gradle.

▶️ Introduction 0:00
▶️ Problem building Docker images 0:55
▶️ Faster Docker images builds with layering 2:23
▶️ Layering in Spring Boot jar files 4:15
▶️ Building Docker images with Jib 5:56
▶️ Building Docker images with Spring Boot plugin 9:19
▶️ Final thoughts 11:33

Accompanying article with side-by-side Jib vs. Spring Boot plugin comparison https://tomgregory.com/gradle/jib-vs-...

Jib Gradle plugin docs (including authentication details) https://github.com/GoogleContainerToo...

Spring Boot Gradle plugin docs https://docs.spring.io/spring-boot/do...

🚀 FREE GRADLE INTRODUCTORY COURSE - Get Going with Gradle - the fastest way to a working knowledge of Gradle https://tomgregory.com/gradle/courses...

🦸 GRADLE HERO COURSE TO MASTER JAVA PROJECTS - take back control of your Gradle build https://tomgregory.com/gradle/courses...

🌍 Check out my website https://tomgregory.com/gradle/


Watch video No more Dockerfile with Jib + Spring Boot plugin online, duration hours minute second in high quality that is uploaded to the channel Tom Gregory Tech 02 December 2021. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 7,538 times and liked it 178 visitors.