Simplify functest/cli/commands/cli_env.py
[functest.git] / docker / components / Dockerfile
index 781022e..ce0d0c5 100644 (file)
@@ -27,7 +27,7 @@ RUN apk --no-cache add --virtual .build-deps --update \
     rm -r upper-constraints.txt /src/os-faults /src/rally && \
     mkdir -p /etc/rally && \
     printf "[database]\nconnection = 'sqlite:////var/lib/rally/database/rally.sqlite'" > /etc/rally/rally.conf && \
-    mkdir -p /var/lib/rally/database && rally-manage db create && \
+    mkdir -p /var/lib/rally/database && rally db create && \
     apk del .build-deps
 COPY testcases.yaml /usr/lib/python2.7/site-packages/functest/ci/testcases.yaml
-CMD ["bash","-c","prepare_env start && run_tests -t all"]
+CMD ["run_tests", "-t", "all"]