Skip to content

Commit

Permalink
Move volume commands to the end of the Dockerfile
Browse files Browse the repository at this point in the history
This avoids the problems with the mount point caused by
containers/buildah#2202 when
using buildah
  • Loading branch information
carbonin committed Mar 3, 2020
1 parent df58404 commit f467002
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,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} && \
Expand Down Expand Up @@ -56,3 +53,6 @@ LABEL io.k8s.description="ManageIQ is a management and automation platform for v
io.k8s.display-name="ManageIQ" \
io.openshift.expose-services="443:https" \
io.openshift.tags="ManageIQ,miq,manageiq"

VOLUME [ "/var/lib/pgsql/data" ]
VOLUME [ ${APP_ROOT} ]

0 comments on commit f467002

Please sign in to comment.