forked from ManageIQ/manageiq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
27 lines (20 loc) · 839 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
27
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 dnf -y --setopt=tsflags=nodocs install \
memcached \
postgresql-server \
mod_ssl \
&& \
dnf clean all && \
rm -rf /var/cache/dnf
## Copy/link the appliance files again so that we get ssl
RUN source /etc/default/evm && \
echo "# This file intentionally left blank. ManageIQ maintains its own SSL configuration" > /etc/httpd/conf.d/ssl.conf
## Overwrite entrypoint from pods repo
COPY docker-assets/entrypoint /usr/local/bin
EXPOSE 443
LABEL name="manageiq"
VOLUME "/var/lib/pgsql/data"
VOLUME ${APP_ROOT}