# Functions
AS --.
BuildBaseImageArgs constructs the docker command:
docker build -f <BaseWorkingDirectory>/Dockerfile -t <dockerRegistry>/<BaseImageName> <BaseWorkingDirectory>.
BuildImageArgs - standard docker build arguments.
BuildIntegrationImageArgs constructs the docker command:
docker build -f <BaseWorkingDirectory>/Dockerfile -t <imagePath> <mavenWorkingDirectory>.
CMD --.
CMDShellWrap --.
ContainerizeDependencyPaths -- make dependency paths valid given a valid container directory in newDir.
ContainerizeFilePaths -- make paths valid container paths given a valid container directory in newDir.
COPY --.
CreateBaseImageDockerFile --.
CreateIntegrationImageDockerFile --.
DockerfilePathArg --.
ENV --.
ENVAppend --.
ExtractRegistryName -- Extract registry name from image path.
FROM --.
FullImageArg --.
GetBaseImagePath returns Docker base image path.
GetContainerDependenciesDir -- directory inside the container where all the integration dependencies are copied.
GetContainerPropertiesDir -- directory inside the container where all the integration property files are copied.
GetContainerRoutesDir -- directory inside the container where all the integration routes are copied.
GetContainerWorkspaceDir -- directory inside the container where all the integration files are copied.
GetFullDockerImage - <docker-registry>/<image-name>:<tag>.
GetImage - <image-name>:<tag>.
GetLatestImage - <image-name>:latest.
ImageArg --.
JoinPath -- for container paths.
LatestImageArg --.
RUN --.
RunImageArgs -- standard docker run arguments.
RunIntegrationImageArgs constructs the docker command:
docker run --network=<network-name> --env LAZY_ENV_VAR=value <dockerRegistry>/<ImageName>.
RUNMakeDir --.
RUNMavenInstall --.
WORKDIR --.
# Variables
BaseImageName -- base image name.
BaseWorkingDirectory -- directory used by Docker to construct the base image.
IntegrationWorkingDirectory -- directory used by Docker to construct the integration image.
NetworkName -- network used by Docker when running the image.
RegistryName -- the docker registry name.