diff options
author | Scott Dodson <sdodson@redhat.com> | 2017-03-06 13:03:33 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-06 13:03:33 -0500 |
commit | 3125e72e49408b8313a9122cf033317af49b006e (patch) | |
tree | 0d2d21f96b7a41a0052135f359cf673f672556b0 /Dockerfile.rhel7 | |
parent | c84081d84d39420d56d88d37d0e93e7cb473c430 (diff) | |
parent | f1b6aa212e32fa711bb8cab42b62260dcfad252c (diff) | |
download | openshift-3125e72e49408b8313a9122cf033317af49b006e.tar.gz openshift-3125e72e49408b8313a9122cf033317af49b006e.tar.bz2 openshift-3125e72e49408b8313a9122cf033317af49b006e.tar.xz openshift-3125e72e49408b8313a9122cf033317af49b006e.zip |
Merge pull request #3382 from codificat/playbook2image
Dockerfile and docs to run containerized playbooks
Diffstat (limited to 'Dockerfile.rhel7')
-rw-r--r-- | Dockerfile.rhel7 | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Dockerfile.rhel7 b/Dockerfile.rhel7 new file mode 100644 index 000000000..f3d45837a --- /dev/null +++ b/Dockerfile.rhel7 @@ -0,0 +1,26 @@ +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" +LABEL io.k8s.description="Ansible code and playbooks for installing Openshift Container Platform." \ + io.k8s.display-name="Openshift Installer" \ + io.openshift.tags="openshift,installer" + +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"] |