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/
Смотрите видео No more Dockerfile with Jib + Spring Boot plugin онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Tom Gregory Tech 02 Декабрь 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 7,538 раз и оно понравилось 178 людям.