From 9d1196ff4b1a9265c3a7bacbc73a58b893bee001 Mon Sep 17 00:00:00 2001 From: Nick Carboni Date: Tue, 3 Mar 2020 15:23:21 -0500 Subject: [PATCH] Move VOLUME commands to the end of the Dockerfile This avoids https://github.com/containers/buildah/issues/2202 --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index e832a2b44a3..d8921c85985 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,9 +11,6 @@ RUN yum -y install --setopt=tsflags=nodocs \ && \ yum clean all -VOLUME [ "/var/lib/pgsql/data" ] -VOLUME [ ${APP_ROOT} ] - ## Copy/link the appliance files again so that we get ssl RUN ${APPLIANCE_ROOT}/setup && \ mv /etc/httpd/conf.d/ssl.conf{,.orig} && \ @@ -25,3 +22,6 @@ COPY docker-assets/entrypoint /usr/local/bin EXPOSE 443 LABEL name="manageiq" + +VOLUME [ "/var/lib/pgsql/data" ] +VOLUME [ ${APP_ROOT} ]