Skip to content

Commit

Permalink
chore(Dockerfile): remove unnecessary WORKDIR command to simplify Doc…
Browse files Browse the repository at this point in the history
…kerfile

chore(Dockerfile): change WORKDIR to /liquibase/changelog to set the working directory for the liquibase command
  • Loading branch information
jandroav committed Jan 12, 2024
1 parent 36678a9 commit 68aaabe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,14 @@ RUN addgroup --gid 1001 liquibase && \
adduser --disabled-password --uid 1001 --ingroup liquibase liquibase && \
mkdir /liquibase && chown root:root /liquibase

WORKDIR /liquibase/changelog

# Setup symbolic links
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

WORKDIR /liquibase/changelog
USER liquibase
ENV LIQUIBASE_HOME=/liquibase

Expand Down

0 comments on commit 68aaabe

Please sign in to comment.