Created
January 14, 2017 15:20
-
-
Save jcpowermac/c804b47fbde5255102a34638aaeaa0a8 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 fedora | |
| RUN mkdir -p /opt/openshift-ansible/ | |
| COPY ./ansible.cfg.example /opt/openshift-ansible/ansible.cfg | |
| COPY . /opt/openshift-ansible | |
| COPY .ssh/ /root/ | |
| RUN echo "callback_plugins = /usr/lib/python2.7/site-packages/ara/plugins/callbacks\naction_plugins = /usr/lib/python2.7/site-packages/ara/plugins/actions\nlibrary = /usr/lib/python2.7/site-packages/ara/plugins/modules" >> /opt/openshift-ansible/ansible.cfg | |
| RUN dnf install -y vim tar gcc python-pip python-devel libffi-devel libxslt libxslt-devel git curl openssl-devel redhat-rpm-config && \ | |
| pip install ara ansible | |
| EXPOSE 8080 | |
| ENTRYPOINT ["/usr/bin/ara-manage"] | |
| CMD ["runserver", "-h", "0.0.0.0", "-p", "8080"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment