2015-07-26 01:47:36 +02:00
|
|
|
|
2016-07-07 03:01:27 +02:00
|
|
|
FROM alpine:3.4
|
2017-01-11 01:43:26 +01:00
|
|
|
ARG version
|
2015-07-26 01:47:36 +02:00
|
|
|
RUN apk -U add \
|
|
|
|
python \
|
|
|
|
py-pip
|
|
|
|
|
|
|
|
COPY requirements.txt /code/requirements.txt
|
|
|
|
RUN pip install -r /code/requirements.txt
|
|
|
|
|
2017-01-11 01:43:26 +01:00
|
|
|
COPY dist/docker_compose-${version}-py2.py3-none-any.whl /code/
|
|
|
|
RUN pip install --no-deps /code/docker_compose-${version}-py2.py3-none-any.whl
|
2015-07-26 01:47:36 +02:00
|
|
|
|
|
|
|
ENTRYPOINT ["/usr/bin/docker-compose"]
|