From d062d104908b28921da8d5b772599bbe53c1284d Mon Sep 17 00:00:00 2001 From: Alek Westover Date: Wed, 26 Jul 2023 16:34:04 -0400 Subject: [PATCH] apply Vadim's suggestions --- Dockerfile.compute-node | 6 +++--- scripts/combine_control_files.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile.compute-node b/Dockerfile.compute-node index 0854a1c03b..a3da3e8e53 100644 --- a/Dockerfile.compute-node +++ b/Dockerfile.compute-node @@ -779,9 +779,9 @@ RUN apt update && apt install -y zstd # Define extension build numbers # NOTE: it is *not* necessary for the build_tag to be BUILD_TAG. In particular, # you should update the build_tag for each extension only when you build it -RUN echo "kq_imcx 5670669815" >> build_tags.txt -RUN echo "anon 5670669815" >> build_tags.txt -RUN echo "postgis 5670669815" >> build_tags.txt +RUN echo "kq_imcx 5670669815" >> build_tags.txt && \ + echo "anon 5670669815" >> build_tags.txt && \ + echo "postgis 5670669815" >> build_tags.txt # copy the control files here COPY --from=kq-imcx-pg-build /extensions/ /extensions/ diff --git a/scripts/combine_control_files.py b/scripts/combine_control_files.py index cb4dca4567..4015af2016 100644 --- a/scripts/combine_control_files.py +++ b/scripts/combine_control_files.py @@ -47,7 +47,7 @@ if __name__ == "__main__": build_tags = {} with open("build_tags.txt", "r") as f: - for line in f.readlines(): + for line in f: ext, build_tag = line.strip().split(" ") build_tags[ext] = build_tag