debug fix v12

This commit is contained in:
Ivan Nikolaev-Axenov 2025-05-30 16:23:57 +03:00
parent d4820eb459
commit 3fa6fe0760

View file

@ -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" ]
CMD [ "./init.sh" ]