aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Wang2020-09-18 11:51:21 -0500
committerGitHub2020-09-18 11:51:21 -0500
commit85d3910dcc675880233b3274f1c13ccbc2921af6 (patch)
tree15080f9e629145708bdadfebba44f2887eadd9d0
parent82b97b2bcd18a20602063f8e4a6073549fbe9095 (diff)
Update DockerfileHEADmaster
-rw-r--r--Dockerfile4
1 files changed, 1 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index 01df752..38fc6d8 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,7 +1,5 @@
FROM archlinux
-RUN pacman -Sy --noconfirm
-
-RUN pacman -S docker --noconfirm
+RUN pacman -Syu --noconfirm && pacman -S docker --noconfirm && pacman -Scc --noconfirm
RUN echo $'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