diff --git a/Dockerfile b/Dockerfile index e594b256058..a94f57090bc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,14 +4,14 @@ MAINTAINER ManageIQ https://github.com/ManageIQ/manageiq ENV DATABASE_URL=postgresql://root@localhost/vmdb_production?encoding=utf8&pool=5&wait_timeout=5 -RUN yum -y install --setopt=tsflags=nodocs \ - memcached \ - postgresql-server \ - mod_ssl \ - openssh-clients \ - openssh-server \ - && \ - yum clean all +RUN dnf -y --disableplugin=subscription-manager --setopt=tsflags=nodocs install \ + memcached \ + postgresql-server \ + mod_ssl \ + openssh-clients \ + openssh-server \ + && \ + dnf clean all VOLUME [ "/var/lib/pgsql/data" ] VOLUME [ ${APP_ROOT} ]