diff options
author | Anthony Wang | 2020-07-29 22:03:19 -0500 |
---|---|---|
committer | GitHub | 2020-07-29 22:03:19 -0500 |
commit | f82a5f56be046999dcd7a11d4b70cd2dddba58ee (patch) | |
tree | 808a3c14e8328d4f2bb689cddcbd092dbaea39d1 | |
parent | 70c96d119bb2d2ff6079c4aaa2d12da8ded49c28 (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\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
+RUN echo $'if if [ ! -f .docker_setup_complete ] && [ $DEPTH != 1 ]\nthen\n\t>.docker_setup_complete\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
|