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:
parent
5b95c989cd
commit
39cea970b8
4 changed files with 86 additions and 5 deletions
15
Dockerfile.run
Normal file
15
Dockerfile.run
Normal 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"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue