From 8b3f1aa289acd1d75cd46b8715bf9b2cbe601fd6 Mon Sep 17 00:00:00 2001 From: Steven Massaro Date: Mon, 16 Sep 2024 14:53:07 -0500 Subject: [PATCH] add env var which indicates this is a Liquibase docker image --- Dockerfile | 2 ++ Dockerfile.alpine | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 6b4c6bd..411a752 100644 --- a/Dockerfile +++ b/Dockerfile @@ -49,6 +49,8 @@ RUN apt-get update && \ # Set LIQUIBASE_HOME environment variable ENV LIQUIBASE_HOME=/liquibase +# Marker which indicates this is a Liquibase docker container +ENV DOCKER_LIQUIBASE=true COPY docker-entrypoint.sh ./ COPY liquibase.docker.properties ./ diff --git a/Dockerfile.alpine b/Dockerfile.alpine index 8ec506f..bdcd4bc 100644 --- a/Dockerfile.alpine +++ b/Dockerfile.alpine @@ -48,6 +48,8 @@ RUN mkdir /liquibase/bin && \ # Set LIQUIBASE_HOME environment variable ENV LIQUIBASE_HOME=/liquibase +# Marker which indicates this is a Liquibase docker container +ENV DOCKER_LIQUIBASE=true COPY docker-entrypoint.sh ./ COPY liquibase.docker.properties ./