From ba3396a31e1a9bdc50e37f8cc6451a5a0923be27 Mon Sep 17 00:00:00 2001 From: Lacey-Anne Sanderson Date: Thu, 2 May 2024 13:28:20 -0600 Subject: [PATCH] ensure string comparison works as expected. --- docker/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index a44d17bc..bf4cfc66 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -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 @@ -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