Make Docker Container work out of the box

We should create Rally DB to make Rally work.

Change-Id: I52287d4d84b36a86b008853fb5d2404ccaa1b530
This commit is contained in:
Boris Pavlovic 2015-10-12 07:34:36 -07:00
parent def15a2c12
commit 84b71c66be

View File

@ -41,6 +41,8 @@ USER rally
ENV HOME /home/rally ENV HOME /home/rally
CMD ["bash", "--login"] CMD ["bash", "--login"]
RUN rally-manage db recreate
# TODO(stpierre): Find a way to use `rally` as the # TODO(stpierre): Find a way to use `rally` as the
# entrypoint. Currently this is complicated by the need to run # entrypoint. Currently this is complicated by the need to run
# rally-manage to create the database. # rally-manage to create the database.