From: Zack Cerza Date: Fri, 14 Jan 2022 22:56:54 +0000 (-0700) Subject: Dockerfile: Run bootstrap during build X-Git-Tag: 1.2.0~190^2~39 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e12aa8d12ff976649dec52abf52bb57775678ea0;p=teuthology.git Dockerfile: Run bootstrap during build This saves quite a bit of time Signed-off-by: Zack Cerza --- diff --git a/docs/docker-compose/Dockerfile b/docs/docker-compose/Dockerfile index 503710902..7d7482aff 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