Skip to content

Commit

Permalink
add env var which indicates this is a Liquibase docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenMassaro committed Sep 16, 2024
1 parent 13d0637 commit 8b3f1aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 ./
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile.alpine
Original file line number Diff line number Diff line change
Expand Up @@ -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 ./
Expand Down

0 comments on commit 8b3f1aa

Please sign in to comment.