Merge "Fix Dockerfile for support mysql and postgres"
This commit is contained in:
commit
d1a4b14235
@ -41,6 +41,8 @@ Changed
|
||||
* Deprecate api_info argument of all clients which inherits from OSClient
|
||||
and deprecate api_version argument of cleanup.manager.cleanup, because
|
||||
api information has been moved into credentails object.
|
||||
* `Docker image <https://hub.docker.com/r/xrally/xrally-openstack>`_ now supports
|
||||
mysql and postgres as db backends.
|
||||
|
||||
Removed
|
||||
~~~~~~~
|
||||
|
@ -13,6 +13,8 @@ COPY etc/motd /etc/motd
|
||||
WORKDIR /home/rally/source
|
||||
|
||||
RUN pip install . --constraint upper-constraints.txt && \
|
||||
pip install pymysql && \
|
||||
pip install psycopg2 && \
|
||||
mkdir /etc/rally && \
|
||||
echo "[database]" > /etc/rally/rally.conf && \
|
||||
echo "connection=sqlite:////home/rally/data/rally.db" >> /etc/rally/rally.conf
|
||||
|
Loading…
x
Reference in New Issue
Block a user