Skip to content

Commit

Permalink
ensure string comparison works as expected.
Browse files Browse the repository at this point in the history
  • Loading branch information
laceysanderson authored May 2, 2024
1 parent e4aa75c commit ba3396a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM ubuntu:24.04

ARG CHADO_VERSION='1.31'
ARG PGSQL_VERSION='16'
ARG APPLY_MIGRATIONS=0
ARG APPLY_MIGRATIONS='0'

RUN apt-get update

Expand Down Expand Up @@ -42,7 +42,7 @@ RUN cp flyway.toml /root/flyway.toml \
RUN /etc/init.d/postgresql start \
&& sleep 30 \
&& flyway baseline \
&& if [ "$APPLY_MIGRATIONS" > "1" ] ; then \
&& if [ "$APPLY_MIGRATIONS" = "1" ] ; then \
flyway migrate; \
fi

Expand Down

0 comments on commit ba3396a

Please sign in to comment.