forked from ManageIQ/manageiq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
26 lines (20 loc) · 834 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
ARG IMAGE_REF=latest
FROM docker.io/manageiq/manageiq-ui-worker:${IMAGE_REF}
MAINTAINER ManageIQ https://github.com/ManageIQ/manageiq
ENV DATABASE_URL=postgresql://root@localhost/vmdb_production?encoding=utf8&pool=5&wait_timeout=5
RUN echo "# This file intentionally left blank. ManageIQ maintains its own SSL configuration" > /etc/httpd/conf.d/ssl.conf && \
dnf -y module enable mod_auth_openidc && \
dnf -y --setopt=tsflags=nodocs install \
manageiq-appliance \
memcached \
postgresql-server \
mod_ssl \
&& \
dnf clean all && \
rm -rf /var/cache/dnf
## Overwrite entrypoint from pods repo
COPY container-assets/entrypoint /usr/local/bin
EXPOSE 443
LABEL name="manageiq"
VOLUME "/var/lib/pgsql/data"
VOLUME ${APP_ROOT}