aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Wang2020-07-29 19:10:39 -0500
committerGitHub2020-07-29 19:10:39 -0500
commitbf2301b9e0a50625d09ae677ecd02ae563f73007 (patch)
tree91772299edec626710031303ec6a41e9d49cb72c
parent6ded23313d19dfb666d7f71d6573e09897575561 (diff)
Update Dockerfile
-rw-r--r--Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 430913d..825b91a 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -4,4 +4,4 @@ RUN pacman -Sy --noconfirm
RUN pacman -S docker --noconfirm
-RUN echo $'if [ $DEPTH > 1 ]\nthen\n\tdockerd &>/dev/null & disown\n\tdocker run --privileged -it -e DEPTH=$((DEPTH-1)) --name arch-all-the-way-down ta180m/arch-all-the-way-down\nfi' > ~root/.bashrc
+RUN echo $'if [ $DEPTH > 1 ]\nthen\n\tdockerd &>/dev/null & disown\n\twhile (! docker stats --no-stream )\n\tdo\n\t\techo "Waiting for Docker to launch..."\n\t\tsleep 1\n\tdone\n\tdocker run --privileged -it -e DEPTH=$((DEPTH-1)) --name arch-all-the-way-down ta180m/arch-all-the-way-down\nfi' > ~root/.bashrc