diff --git a/Dockerfile b/Dockerfile index dedef34..364c10f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,9 +18,15 @@ RUN \ vim-tiny \ wget +# Install wait-for-it.sh for dependency mapping +RUN \ + cd /usr/local/bin; \ + wget -q https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh; \ + chmod +x /usr/local/bin/wait-for-it.sh + # Install Mongo RUN \ - mkdir -p /data/db/tmp && cd /data/db/tmp/ \ + mkdir -p /data/db/tmp && cd /data/db/tmp/; \ wget -q https://repo.mongodb.org/apt/debian/dists/buster/mongodb-org/4.4/main/binary-amd64/mongodb-org-shell_4.4.4_amd64.deb; \ wget -q https://repo.mongodb.org/apt/debian/dists/buster/mongodb-org/4.4/main/binary-amd64/mongodb-org-server_4.4.4_amd64.deb; \ apt install /data/db/tmp/mongodb-org-shell_4.4.4_amd64.deb; \