Update Dockerfile

This commit is contained in:
Anthony Wang 2020-07-29 20:04:36 -05:00 committed by GitHub
parent 878f4dca1d
commit 70c96d119b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)) -v /var/run/docker.sock:/var/run/docker.sock --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