alpine docker image for running compose and a script to pull and run it with the

correct volumes.

Signed-off-by: Daniel Nephin <dnephin@gmail.com>
This commit is contained in:
Daniel Nephin 2015-07-25 19:47:36 -04:00 committed by Daniel Nephin
commit 39cea970b8
4 changed files with 86 additions and 5 deletions

15
Dockerfile.run Normal file
View file

@ -0,0 +1,15 @@
FROM alpine:edge
RUN apk -U add \
python \
py-pip
COPY requirements.txt /code/requirements.txt
RUN pip install -r /code/requirements.txt
ENV VERSION 1.4.0dev
COPY dist/docker-compose-$VERSION.tar.gz /code/docker-compose/
RUN pip install /code/docker-compose/docker-compose-$VERSION/
ENTRYPOINT ["/usr/bin/docker-compose"]