Skip to content

Commit

Permalink
Merge pull request #15 from kbase/inbox
Browse files Browse the repository at this point in the history
Adding wait-for-it.sh for easier dependency management
  • Loading branch information
jsfillman authored Mar 17, 2021
2 parents 28afa06 + 55a5936 commit 07cfd06
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down

0 comments on commit 07cfd06

Please sign in to comment.