diff options
author | Anthony Wang | 2020-07-29 19:10:39 -0500 |
---|---|---|
committer | GitHub | 2020-07-29 19:10:39 -0500 |
commit | bf2301b9e0a50625d09ae677ecd02ae563f73007 (patch) | |
tree | 91772299edec626710031303ec6a41e9d49cb72c | |
parent | 6ded23313d19dfb666d7f71d6573e09897575561 (diff) |
Update Dockerfile
-rw-r--r-- | Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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
|