Created
March 29, 2017 15:17
-
-
Save johnddias/2472a7eb3ea3f15c5b3b75a94a042635 to your computer and use it in GitHub Desktop.
Dockerfile for Webhook-Shims container
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 photon:latest | |
MAINTAINER John Dias "[email protected]" | |
RUN tdnf install python2 python-xml -y \ | |
&& curl -s https://bootstrap.pypa.io/get-pip.py > /tmp/get-pip.py \ | |
&& /usr/bin/python /tmp/get-pip.py \ | |
&& tdnf install git -y \ | |
&& git clone https://github.com/vmw-loginsight/webhook-shims.git ~/webhook-shims | |
WORKDIR /root/webhook-shims | |
RUN /usr/bin/pip install -r requirements.txt | |
#ENTRYPOINT ["python"] | |
CMD ["/root/webhook-shims/runserver.py"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment