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:
Steve Baker 2018-11-13 17:18:24 +13:00
parent 34293e3e08
commit 97b54c3f7e
2 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,7 @@
FROM {{ source_image }}
LABEL modified_append_tag={{ modified_append_tag }}
WORKDIR /
USER root
{% for rpm in rpms_list %}

View File

@ -1,6 +1,7 @@
FROM {{ source_image }}
LABEL modified_append_tag={{ modified_append_tag }}
WORKDIR /
USER root
COPY yum_update.sh /tmp/