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