debug fix v8
This commit is contained in:
parent
1ebb217897
commit
5f891993a8
2 changed files with 4 additions and 2 deletions
|
|
@ -3,8 +3,10 @@ FROM alpine
|
||||||
ADD combined_update_ddl.sql /init.sql
|
ADD combined_update_ddl.sql /init.sql
|
||||||
ADD init.sh /init.sh
|
ADD init.sh /init.sh
|
||||||
|
|
||||||
|
USER root
|
||||||
|
|
||||||
RUN apk add --update --no-cache postgresql-client
|
RUN apk add --update --no-cache postgresql-client
|
||||||
RUN chmod +x init.sql
|
RUN chmod +x init.sql
|
||||||
RUN find . -name "*.sh" | xargs sed -i 's/\r$//'
|
RUN find . -name "*.sh" | xargs sed -i 's/\r$//'
|
||||||
|
|
||||||
CMD [ "sh", "-c", "./init.sh" ]
|
CMD [ "./init.sh" ]
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#! /bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
echo "PSQL version: " && psql --version
|
echo "PSQL version: " && psql --version
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue