mirror of
https://github.com/nextcloud/docker.git
synced 2025-06-17 00:24:47 +02:00
Fix for issue #420, entrypoint has a race condition where installation fails if DB is not ready in time.
Signed-off-by: Daniel Hodgson <toasty27@gmail.com>
This commit is contained in:
parent
f1ca6dbfab
commit
6544bd2b3d
3 changed files with 31 additions and 0 deletions
|
@ -128,5 +128,8 @@ RUN set -ex; \
|
|||
COPY *.sh upgrade.exclude /
|
||||
COPY config/* /usr/src/nextcloud/config/
|
||||
|
||||
# wait-for-it.sh is used for waiting on networked DB's to become available during install
|
||||
ADD https://raw.githubusercontent.com/vishnubob/wait-for-it/81b1373f17855a4dc21156cfe1694c31d7d1792e/wait-for-it.sh /usr/bin/wait-for-it
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
CMD ["%%CMD%%"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue