Skip to content

Commit

Permalink
chore(Dockerfile): remove unnecessary symbolic link creation for /liq…
Browse files Browse the repository at this point in the history
…uibase/changelog and /liquibase directories

chore(Dockerfile): remove unnecessary symbolic link creation for /liquibase/bin/lpm and /usr/local/bin/lpm
  • Loading branch information
jandroav committed Jan 12, 2024
1 parent 68aaabe commit 020928c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,12 @@ RUN addgroup --gid 1001 liquibase && \
RUN ln -s /liquibase/docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh && \
ln -s /liquibase/docker-entrypoint.sh /docker-entrypoint.sh && \
ln -s /liquibase/liquibase /usr/local/bin/liquibase && \
ln -s /liquibase/bin/lpm /usr/local/bin/lpm && \
ln -s /liquibase/changelog /liquibase
ln -s /liquibase/bin/lpm /usr/local/bin/lpm

WORKDIR /liquibase/changelog
# Create a symbolic link to make /liquibase/changelog and /liquibase the same
RUN ln -s /liquibase/changelog /liquibase

USER liquibase
ENV LIQUIBASE_HOME=/liquibase

Expand Down

0 comments on commit 020928c

Please sign in to comment.