]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
Dockerfile: Run bootstrap during build
authorZack Cerza <zack@redhat.com>
Fri, 14 Jan 2022 22:56:54 +0000 (15:56 -0700)
committerZack Cerza <zack@redhat.com>
Mon, 28 Mar 2022 21:26:17 +0000 (15:26 -0600)
This saves quite a bit of time

Signed-off-by: Zack Cerza <zack@redhat.com>
docs/docker-compose/Dockerfile

index 50371090223c8a5cee41c9bfe131bcf8c8fdee57..7d7482affeed66d85d95cbe276851f488500f5c3 100644 (file)
@@ -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