Created
April 5, 2019 23:14
-
-
Save xphyr/dada0207a1f1be161d0717928debd926 to your computer and use it in GitHub Desktop.
Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM centos:7 | |
RUN yum -y install \ | |
https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm && \ | |
sed -i -e "s/^enabled=1/enabled=0/" /etc/yum.repos.d/epel.repo && \ | |
yum -y --enablerepo=epel install wget git ansible python-pip pyOpenSSL && yum clean all | |
RUN pip install 'ansible[azure]' | |
RUN mkdir -p /okdinstall/setup_scripts | |
RUN cd /okdinstall && git clone https://github.com/openshift/openshift-ansible && \ | |
cd openshift-ansible && \ | |
git checkout release-3.11 | |
WORKDIR /okdinstall | |
COPY ansible.cfg /okdinstall | |
COPY setup_scripts/* /okdinstall/setup_scripts/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment