Spring Boot - Docker Image with the jar file using the Gradle Docker Plugin

Subscribers:
11,000
Published on ● Video Link: https://www.youtube.com/watch?v=x7nrGLJLN5U



Duration: 16:12
11,461 views
159


This time I show how to build a docker image with the Gradle plugin: Gradle Docker Plugin. The resulting jar-file from our Spring Boot project is placed inside the docker image and runs when we run the image. Feel free to leave comments and questions. Enjoy! :-) The code is located here: https://github.com/ekim197711/springboot-docker-gradle




Other Videos By Mike Møller Nielsen


2019-08-27Docker Multistage Build - Continuous Delivery and Continuous Integration
2019-08-26Docker and IntelliJ - Start and stop and Inspect the filesystem of docker containers
2019-08-25Jenkins Multistage Multibranch Job - Create a workflow with the Jenkinsfile
2019-08-25Docker Compose - 2 Spring Boot applications dependent on each other running by using docker compose
2019-08-24Docker and the Dockerfile - The basic syntax and explaination of EXPOSE
2019-08-22Java 12 Switch Statement with arrow syntax!
2019-08-21Spring Boot MongoDB MongoTemplate and Query
2019-08-20Spring Boot JUnit5 Kotlin
2019-08-19Lambda expressions - Also the method reference :: is explained
2019-08-18Spring Boot and Sftp - Avoid ftp and ftps if possible
2019-08-15Spring Boot - Docker Image with the jar file using the Gradle Docker Plugin
2019-08-14Spring Data Repository - Extract data without knowing sql
2019-08-14Oh my zsh - An alternative to bash
2019-08-13Spring Boot Version from git tag with Gradle
2019-08-13SdkMan - Install jdk gradle ant maven kotlin scala
2019-08-11Spring Boot Banner - Make the startup log stand out
2019-08-10Dozer Bean to Bean Mapping - Using Annotations!
2019-08-09Spring Boot RestController - Create REST endpoints with path variables and request parameters
2019-08-09Spring Boot with ReactJS using Gradle plugins
2019-08-07Spring Boot Conditional - Change behaviour in different environments
2019-08-06Spring Boot Scheduling - Run methods with certain rates and intervals or with the cron syntax



Tags:
gradle
java
springboot
spring
gradle-docker-plugin
docker