How to build and deploy Java Springboot application using Docker
Build Java spring boot application using gradle, create jar file and deploy it using openjdk, all in just one dockerimage.
Build Java spring boot application using gradle, create jar file and deploy it using openjdk, all in just one dockerimage.
Pass any runtime variable while creating Docker image from Dockerfile. When having parameters as an env file or configuration files that need to be selected while running docker image, then you may not require to create different Dockerfile for all different environments. This Article can help you pass those variable on go and you can use one Dockerfile for all environments