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

Fix: Use apk --no-cache for virtual packages

This commit is contained in:
Hans van den Bogert 2020-04-11 13:46:29 +02:00
parent 139eb99ea9
commit fe26d7e405

@ -5,7 +5,7 @@ ARG COMPOSE_VERSION=
ARG DOCKER_VERSION ARG DOCKER_VERSION
RUN apk add --no-cache py3-pip python3 RUN apk add --no-cache py3-pip python3
RUN apk add --virtual build-dependencies python3-dev libffi-dev openssl-dev gcc libc-dev make \ RUN apk add --no-cache --virtual build-dependencies python3-dev libffi-dev openssl-dev gcc libc-dev make \
&& pip3 install "docker-compose${COMPOSE_VERSION:+==}${COMPOSE_VERSION}" \ && pip3 install "docker-compose${COMPOSE_VERSION:+==}${COMPOSE_VERSION}" \
&& apk del build-dependencies && apk del build-dependencies