From 84b71c66be26aaa487f3a0f65a06d35a77c93fe7 Mon Sep 17 00:00:00 2001 From: Boris Pavlovic Date: Mon, 12 Oct 2015 07:34:36 -0700 Subject: [PATCH] Make Docker Container work out of the box We should create Rally DB to make Rally work. Change-Id: I52287d4d84b36a86b008853fb5d2404ccaa1b530 --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 5b165f43..8f35fda7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -41,6 +41,8 @@ USER rally ENV HOME /home/rally CMD ["bash", "--login"] +RUN rally-manage db recreate + # TODO(stpierre): Find a way to use `rally` as the # entrypoint. Currently this is complicated by the need to run # rally-manage to create the database.