summaryrefslogtreecommitdiffstats
path: root/Dockerfile
blob: 70f6f8a184d4467e38c01e25e18e500ca0970b95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM rhel7

MAINTAINER Troy Dawson <tdawson@redhat.com>

LABEL Name="openshift3/installer"
LABEL Vendor="Red Hat" License=GPLv2+
LABEL Version="v3.1.1.901"
LABEL Release="6"
LABEL BZComponent="aos3-installation-docker"
LABEL Architecture="x86_64"

RUN INSTALL_PKGS="atomic-openshift-utils" && \
    yum install -y --enablerepo=rhel-7-server-ose-3.2-rpms $INSTALL_PKGS && \
    rpm -V $INSTALL_PKGS && \
    yum clean all

# Expect user to mount a workdir for container output (installer.cfg, hosts inventory, ansible log)
VOLUME /var/lib/openshift-installer/
WORKDIR /var/lib/openshift-installer/

RUN mkdir -p /var/lib/openshift-installer/

ENTRYPOINT ["/usr/bin/atomic-openshift-installer", "-c", "/var/lib/openshift-installer/installer.cfg", "--ansible-log-path", "/var/lib/openshift-installer/ansible.log"]