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
This commit is contained in:
parent
34293e3e08
commit
97b54c3f7e
|
@ -1,6 +1,7 @@
|
|||
FROM {{ source_image }}
|
||||
LABEL modified_append_tag={{ modified_append_tag }}
|
||||
|
||||
WORKDIR /
|
||||
USER root
|
||||
|
||||
{% for rpm in rpms_list %}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
FROM {{ source_image }}
|
||||
LABEL modified_append_tag={{ modified_append_tag }}
|
||||
|
||||
WORKDIR /
|
||||
USER root
|
||||
|
||||
COPY yum_update.sh /tmp/
|
||||
|
|
Loading…
Reference in New Issue