1
0
mirror of https://github.com/tmaier/docker-compose synced 2024-11-22 16:01:59 +01:00

Merge pull request #23 from hansbogert/master

Change: use python3
This commit is contained in:
Tobias L. Maier 2020-04-11 00:00:29 +02:00 committed by GitHub
commit c7fbe3b956
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

@ -4,8 +4,10 @@ FROM docker:${DOCKER_VERSION}
ARG COMPOSE_VERSION= ARG COMPOSE_VERSION=
ARG DOCKER_VERSION ARG DOCKER_VERSION
RUN apk add --no-cache py-pip python-dev libffi-dev openssl-dev gcc libc-dev make RUN apk add --no-cache py3-pip
RUN pip install "docker-compose${COMPOSE_VERSION:+==}${COMPOSE_VERSION}" RUN apk add --virtual build-dependencies python3-dev libffi-dev openssl-dev gcc libc-dev make \
&& pip3 install "docker-compose${COMPOSE_VERSION:+==}${COMPOSE_VERSION}" \
&& apk del build-dependencies
LABEL \ LABEL \
org.opencontainers.image.authors="Tobias Maier <tobias.maier@baucloud.com>" \ org.opencontainers.image.authors="Tobias Maier <tobias.maier@baucloud.com>" \