rally-openstack/Dockerfile
Andrey Kurilin 20590f3071 Update requirements and release 2.2.0
+ remove ceilometer plugins since they require python-ceilometerclient
  that was deprecated long time ago and we cannot keep our requirements
  compatible with it anymore
+ update murano ctx to do not leave open file

Change-Id: Ic344ce0dcc791375438c20b2751da8ca3e24f242
2021-10-22 13:30:03 +03:00

17 lines
719 B
Docker

FROM xrally/xrally:3.3.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_openstack
WORKDIR /rally/xrally_openstack
# to install package system-wide, we need to temporary switch to root user
USER root
# ensure that we have all system packages installed
RUN pip3 install --no-cache-dir -U bindep && apt update && DEBIAN_FRONTEND=noninteractive apt install --yes $(bindep -b | tr '\n' ' ') && apt clean
# disabling cache since we do not expect to install other packages
RUN pip3 install . --no-cache-dir --constraint ./upper-constraints.txt
# switch back to rally user for avoid permission conflicts
USER rally