Files
ansible-role-tripleo-modify…/templates/Dockerfile-rpm.j2
Steve Baker 97b54c3f7e Set WORKDIR / in the dockerfiles
For some reason buildah is failing on images which already have a
WORKDIR set (such as the tempest image). This change sets the WORKDIR
to / to avoid this failure.

Change-Id: Id756000a3b24eac01292907ca8837a5f99c66678
2018-11-13 17:18:24 +13:00

15 lines
249 B
Django/Jinja

FROM {{ source_image }}
LABEL modified_append_tag={{ modified_append_tag }}
WORKDIR /
USER root
{% for rpm in rpms_list %}
COPY {{ rpm | basename }} /tmp/
{% endfor %}
COPY rpm_install.sh /tmp/
RUN /tmp/rpm_install.sh
USER "{{ original_user }}"