poppy/docker/mimic/Dockerfile
amitgandhinz 0d08dfa66e Added Docker Files to mimic third party API's
This change works towards making the API tests pass
against Mimic'd drivers so that real production accounts
do not need to be set up - namely:
- Mimic - Fastly
- Mimic - Keystone

It also makes the mimic fastly instance the default driver in /etc

Implements: bp/mimic-fastly

Change-Id: I35d36fbc2452fc4e2233c19abefd738c9975edd0
2015-08-04 15:12:34 -04:00

21 lines
490 B
Docker

## Mimic
FROM ubuntu:14.04
MAINTAINER Chris Powell <chris.powell@rackspace.com>
RUN apt-get update && apt-get install -y \
curl \
python-dev \
git
# Get a working version of pip for ubuntu 14.04:
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=744145
RUN /usr/bin/curl -s https://bootstrap.pypa.io/get-pip.py | python
WORKDIR /home/source
RUN git clone https://github.com/rackerlabs/mimic .
RUN pip install -r requirements.txt
EXPOSE 8900
CMD ["twistd", "-n", "mimic"]