Blog Archives

Containerizing Spring Boot Applications with Buildpacks

Step 3: I have added a simple controller to test the application once we run the docker container of our Spring Boot app. Below is the controller code. package org.smarttechie.controller; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RestController; @RestController public class DemoController { @GetMapping public

Tagged with: , , , , ,
Posted in Containers, Java, Spring, Spring Boot

Jib – Containerize Your Java Application

Jib is an opensource plugin for Maven and Gradle. It uses build information to build a Docker image without requiring a Dockerfile and Docker daemon

Tagged with: , , ,
Posted in Containers, Java


Java Code Geeks
Java Code Geeks