From f3c80d57064adf53a7c010048dd9e523e43eec4e Mon Sep 17 00:00:00 2001 From: mikecaat <35882227+mikecaat@users.noreply.github.com> Date: Thu, 1 Jun 2023 04:22:30 +0900 Subject: [PATCH] Fix a minor error building a docker image for citus (#2705) This handles the following syntax error. $ docker build -t patroni-citus -f Dockerfile.citus . (snip) => ERROR [builder 2/3] RUN set -ex && export DEBIAN_FRONTEND=noninteractive && echo 0.5s - (snip) #5 0.456 /bin/sh: 1: Syntax error: end of file unexpected (expecting "fi") Co-authored-by: Masahiro Ikeda --- Dockerfile.citus | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.citus b/Dockerfile.citus index 2a10745e..36dcbb51 100644 --- a/Dockerfile.citus +++ b/Dockerfile.citus @@ -40,7 +40,7 @@ RUN set -ex \ echo "deb [signed-by=/etc/apt/trusted.gpg.d/citusdata_community.gpg] https://packagecloud.io/citusdata/community/debian/ $(lsb_release -cs) main" > /etc/apt/sources.list.d/citusdata_community.list \ && curl -sL https://packagecloud.io/citusdata/community/gpgkey | gpg --dearmor > /etc/apt/trusted.gpg.d/citusdata_community.gpg \ && apt-get update -y \ - && apt-get -y install postgresql-$PG_MAJOR-citus-11.3 \ + && apt-get -y install postgresql-$PG_MAJOR-citus-11.3; \ fi \ && pip3 install dumb-init \ \