Merge "[docker] Fix location of rally-openstack code"

This commit is contained in:
Zuul 2020-06-17 19:32:48 +00:00 committed by Gerrit Code Review
commit 3633075b1f
2 changed files with 9 additions and 2 deletions

View File

@ -19,6 +19,13 @@ Changelog
[unreleased]
------------
Changed
~~~~~~~
* Location of rally-openstack code with docs and samples inside the docker
image changed from /rally/xrally_opentstack to /rally/xrally_openstack
(there was a typo in work openstack)
Fixed
~~~~~

View File

@ -2,8 +2,8 @@ FROM xrally/xrally:3.1.0
# "rally" user (which is selected by-default) is owner of "/rally" directory,
# so there is no need to call chown or switch the user
COPY . /rally/xrally_opentstack
WORKDIR /rally/xrally_opentstack
COPY . /rally/xrally_openstack
WORKDIR /rally/xrally_openstack
# to install package system-wide, we need to temporary switch to root user
USER root