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

Fix: use python3 explicitly

This was problematic for docker 1.1x image otherwise
This commit is contained in:
Hans van den Bogert 2020-04-11 13:45:23 +02:00
parent 5c701ab27a
commit 139eb99ea9

@ -4,7 +4,7 @@ FROM docker:${DOCKER_VERSION}
ARG COMPOSE_VERSION=
ARG DOCKER_VERSION
RUN apk add --no-cache py3-pip
RUN apk add --no-cache py3-pip python3
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