A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

A

apply(Project) - Method in DockerPreparePlugin

B

C

check() - Method in DependencyMover
commonService(String) - Method in DockerPreparePluginExt
Marks dependencies to be placed in the top layer of a docker image, e.g.
COPY_DEFAULT_DOCKERFILE - Field in DockerPreparePlugin
COPY_DOCKER - Field in DockerPreparePlugin
createdirs() - Method in DependencyMover

D

DependencyMover - Class in com.garyclayburg.docker


Created 2017-10-16 17:11
DOCKER_LAYER_PREPARE - Field in DockerPreparePlugin
dockerBuildDirectory(String) - Method in DockerPreparePluginExt
This directory is the output of this plugin that represents your Spring Boot application in a docker layer-friendly format.
dockerfileSet(String) - Method in DockerPreparePluginExt
Instead of using the default Dockerfile and bootrunner.sh, you can specify a different pre-packaged Dockerfile and bootrunner.sh:
dockerprepare(Closure) - Method in DockerPreparePluginExt
DOCKERPREPARE_EXTENSION - Field in DockerPreparePlugin
DockerPreparePlugin - Class in com.garyclayburg.docker

Prepares a Spring Boot application for deployment in a docker container

Features:

  • splits Spring Boot jar or war into docker cache-friendly layers
  • includes default Dockerfile that is fast, efficient and secure
  • application running in docker will honor OS signals like SIGQUIT
  • application running in docker can process command line parameters:
       docker run registry:5000/multiprojectdemo:1.0 --info.app.name="widget instance 1"
           
DockerPreparePluginExt - Class in com.garyclayburg.docker

properties

Customization examples

Put the tomcat jar files and actuator jar files into into the common layer:
 dockerprepare {
   commonService = ['org.springframework.boot:spring-boot-starter-web','org.springframework.boot:spring-boot-starter-actuator']
 }
 
Place your own Dockerfile in this directory to override the default:
 ${project.rootDir}/src/main/docker/
 
DockerPreparePluginExt() - Constructor in DockerPreparePluginExt
dockerSrcDirectory(String) - Method in DockerPreparePluginExt
All files or directories in this directory will be copied to the dockerBuildDirectory.

E

EXPAND_BOOT_JAR - Field in DockerPreparePlugin

F

G

H

I

insertClassifier(File, String) - Method in DockerPreparePlugin

J

K

L

M

move(String, String) - Method in DependencyMover
moveProjectJars(String, String) - Method in DependencyMover
moveWar(String) - Method in DependencyMover

N

O

P

Q

R

S

setCommonService(String) - Method in DockerPreparePluginExt
Marks dependencies to be placed in the top layer of a docker image, e.g.
setDockerBuildDirectory(String) - Method in DockerPreparePluginExt
This directory is the output of this plugin that represents your Spring Boot application in a docker layer-friendly format.
setDockerfileSet(String) - Method in DockerPreparePluginExt
Instead of using the default Dockerfile and bootrunner.sh, you can specify a different pre-packaged Dockerfile and bootrunner.sh:
setDockerSrcDirectory(String) - Method in DockerPreparePluginExt
All files or directories in this directory will be copied to the dockerBuildDirectory.

T

U

V

W

X

Y

Z

_

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _