aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Wang2020-07-29 22:03:19 -0500
committerGitHub2020-07-29 22:03:19 -0500
commitf82a5f56be046999dcd7a11d4b70cd2dddba58ee (patch)
tree808a3c14e8328d4f2bb689cddcbd092dbaea39d1
parent70c96d119bb2d2ff6079c4aaa2d12da8ded49c28 (diff)
Update Dockerfile
-rw-r--r--Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 39ff59b..d3fb308 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\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