Fuel CCP - Rally deployment
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
647B

  1. FROM {{ image_spec("openstack-base") }}
  2. MAINTAINER {{ maintainer }}
  3. {{ copy_sources("openstack/rally", "/rally") }}
  4. {{ copy_sources("openstack/tempest", "/tempest") }}
  5. RUN useradd --user-group --create-home --home-dir /var/lib/rally rally \
  6. && chmod 755 /var/lib/rally \
  7. && /var/lib/microservices/venv/bin/pip install /rally \
  8. && rm -fr /rally \
  9. && mv /tempest /var/lib/rally/tempest
  10. COPY mitaka-skip-list.list /var/lib/rally/
  11. COPY newton-skip-list.list /var/lib/rally/
  12. COPY check_status.py /var/lib/rally/
  13. RUN chown -R rally: /var/lib/rally \
  14. && chmod 755 /var/lib/rally/check_status.py
  15. USER rally
  16. WORKDIR /var/lib/rally