FROM alpine:3.4 ARG version RUN apk -U add \ python \ py-pip COPY requirements.txt /code/requirements.txt RUN pip install -r /code/requirements.txt 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 ENTRYPOINT ["/usr/bin/docker-compose"]