summaryrefslogtreecommitdiff
path: root/Dockerfile.run
diff options
context:
space:
mode:
authorDaniel Nephin <dnephin@gmail.com>2015-07-25 19:47:36 -0400
committerDaniel Nephin <dnephin@docker.com>2015-10-02 11:38:35 -0400
commit39cea970b8d161ce6986d5ad2f14b63cb3ff3094 (patch)
tree842d369c06605e15d4db89b82c8330ee9e663cad /Dockerfile.run
parent5b95c989cd9489ae90b7a5b7d8a910e5b0015470 (diff)
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>
Diffstat (limited to 'Dockerfile.run')
-rw-r--r--Dockerfile.run15
1 files changed, 15 insertions, 0 deletions
diff --git a/Dockerfile.run b/Dockerfile.run
new file mode 100644
index 00000000..3c12fa18
--- /dev/null
+++ b/Dockerfile.run
@@ -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"]