Made entrypoint.sh & create_pg_pass.sh executable and added idle process for entrypoint
This commit is contained in:
parent
dea68fd793
commit
78f6dc9e5f
2 changed files with 8 additions and 2 deletions
|
@ -24,4 +24,5 @@ RUN apt-get -y install postgresql
|
||||||
|
|
||||||
|
|
||||||
# Prepare Entrypoint Script
|
# Prepare Entrypoint Script
|
||||||
ADD resources /tmp/resources
|
ADD resources /tmp/resources
|
||||||
|
RUN chmod 700 /tmp/resources/entrypoint.sh /tmp/resources/create_pg_pass.sh
|
|
@ -1 +1,6 @@
|
||||||
./create_pg_pass.sh
|
./create_pg_pass.sh
|
||||||
|
|
||||||
|
# Idle process
|
||||||
|
while true; do
|
||||||
|
sleep 500000
|
||||||
|
done
|
Loading…
Reference in a new issue