From e12aa8d12ff976649dec52abf52bb57775678ea0 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Fri, 14 Jan 2022 15:56:54 -0700 Subject: [PATCH] Dockerfile: Run bootstrap during build This saves quite a bit of time Signed-off-by: Zack Cerza --- docs/docker-compose/Dockerfile | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/docs/docker-compose/Dockerfile b/docs/docker-compose/Dockerfile index 5037109022..7d7482affe 100644 --- a/docs/docker-compose/Dockerfile +++ b/docs/docker-compose/Dockerfile @@ -22,10 +22,12 @@ RUN apt-get update && \ libyaml-dev \ lsb-release && \ apt-get clean all -CMD ./bootstrap && ./virtualenv/bin/teuthology-suite \ --v --ceph-repo https://github.com/ceph/ceph.git \ ---suite-repo https://github.com/ceph/ceph.git \ --c master -m smithi --subset 9000/100000 --limit 1 \ ---suite dummy \ ---suite-branch master -p 75 --force-priority -n 100 \ -&& tail -f /dev/null +RUN ./bootstrap +CMD ./virtualenv/bin/teuthology-suite \ + -v --ceph-repo https://github.com/ceph/ceph.git \ + --suite-repo https://github.com/ceph/ceph.git \ + -c master -m smithi --subset 9000/100000 --limit 1 \ + --suite dummy \ + --suite-branch master -p 75 --force-priority -n 100 && \ + ./virtualenv/bin/teuthology-dispatcher --log-dir ./log --tube smithi ; \ + tail -f /dev/null -- 2.39.5