Skip to content

Instantly share code, notes, and snippets.

@johnddias
Created March 29, 2017 15:17
Show Gist options
  • Save johnddias/2472a7eb3ea3f15c5b3b75a94a042635 to your computer and use it in GitHub Desktop.
Save johnddias/2472a7eb3ea3f15c5b3b75a94a042635 to your computer and use it in GitHub Desktop.
Dockerfile for Webhook-Shims container
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