From 5f891993a818f391111c388ca309d590f562e507 Mon Sep 17 00:00:00 2001 From: Ivan Nikolaev-Axenov Date: Fri, 30 May 2025 13:38:59 +0300 Subject: [PATCH] debug fix v8 --- clr_test/db-updater/Dockerfile | 4 +++- clr_test/db-updater/init.sh | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/clr_test/db-updater/Dockerfile b/clr_test/db-updater/Dockerfile index d1b0cc799..31c171aa9 100644 --- a/clr_test/db-updater/Dockerfile +++ b/clr_test/db-updater/Dockerfile @@ -3,8 +3,10 @@ FROM alpine ADD combined_update_ddl.sql /init.sql ADD init.sh /init.sh +USER root + RUN apk add --update --no-cache postgresql-client RUN chmod +x init.sql RUN find . -name "*.sh" | xargs sed -i 's/\r$//' -CMD [ "sh", "-c", "./init.sh" ] \ No newline at end of file +CMD [ "./init.sh" ] \ No newline at end of file diff --git a/clr_test/db-updater/init.sh b/clr_test/db-updater/init.sh index 44561ca77..32e6d0f3c 100644 --- a/clr_test/db-updater/init.sh +++ b/clr_test/db-updater/init.sh @@ -1,4 +1,4 @@ -#! /bin/sh +#!/bin/sh echo "PSQL version: " && psql --version