forked from ManageIQ/manageiq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
29 lines (22 loc) · 956 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
28
29
ARG IMAGE_REF=latest
FROM 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 --disableplugin=subscription-manager --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 && \
$APPLIANCE_SOURCE_DIRECTORY/setup && \
mv /etc/httpd/conf.d/ssl.conf{,.orig} && \
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}