From 3fa6fe076048899d3404e2c05319884e69e5d540 Mon Sep 17 00:00:00 2001 From: Ivan Nikolaev-Axenov Date: Fri, 30 May 2025 16:23:57 +0300 Subject: [PATCH] debug fix v12 --- clr_test/db-updater/Dockerfile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/clr_test/db-updater/Dockerfile b/clr_test/db-updater/Dockerfile index 11bad7020..029cdde28 100644 --- a/clr_test/db-updater/Dockerfile +++ b/clr_test/db-updater/Dockerfile @@ -1,12 +1,14 @@ -FROM alpine +FROM debian WORKDIR /opt ADD combined_update_ddl.sql init.sql ADD init.sh init.sh -RUN apk add --update --no-cache postgresql-client -RUN chmod a+x init.sql +USER root + +RUN apt update && apt install postgresql-client -y +RUN chmod +x init.sql RUN find . -name "*.sh" | xargs sed -i 's/\r$//' -ENTRYPOINT [ "./init.sh" ] \ No newline at end of file +CMD [ "./init.sh" ] \ No newline at end of file