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
15 lines
249 B
Django/Jinja
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 }}"
|