debug fix v13
This commit is contained in:
parent
3fa6fe0760
commit
7f72221586
1 changed files with 6 additions and 10 deletions
|
|
@ -1,14 +1,10 @@
|
|||
FROM debian
|
||||
FROM alpine
|
||||
|
||||
WORKDIR /opt
|
||||
ADD combined_update_ddl.sql /init.sql
|
||||
ADD init.sh /init.sh
|
||||
|
||||
ADD combined_update_ddl.sql init.sql
|
||||
ADD init.sh init.sh
|
||||
|
||||
USER root
|
||||
|
||||
RUN apt update && apt install postgresql-client -y
|
||||
RUN chmod +x init.sql
|
||||
RUN apk add --update --no-cache postgresql-client
|
||||
RUN chmod +x init.sh
|
||||
RUN find . -name "*.sh" | xargs sed -i 's/\r$//'
|
||||
|
||||
CMD [ "./init.sh" ]
|
||||
ENTRYPOINT [ "./init.sh" ]
|
||||
Loading…
Add table
Reference in a new issue