mirror of
https://github.com/tmaier/docker-compose
synced 2024-11-22 16:01:59 +01:00
Fix rust compiler not found error at old alpine
This commit is contained in:
parent
dab53009c5
commit
92ec65ae76
@ -9,7 +9,6 @@ latest
|
|||||||
18.02 1.19.*
|
18.02 1.19.*
|
||||||
18.03 1.21.*
|
18.03 1.21.*
|
||||||
18.06 1.22.*
|
18.06 1.22.*
|
||||||
18.09 1.24.*
|
|
||||||
19 1.27.*
|
19 1.27.*
|
||||||
19.03 1.27.*
|
19.03 1.27.*
|
||||||
20 1.28.*
|
20 1.28.*
|
||||||
|
@ -5,9 +5,11 @@ 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 --no-cache --virtual build-dependencies python3-dev libffi-dev openssl-dev gcc libc-dev rust cargo make \
|
RUN apk add --no-cache --virtual build-dependencies python3-dev libffi-dev openssl-dev gcc libc-dev make \
|
||||||
|
&& apk add --no-cache --virtual build-dependencies-after-compose-v1.28.x rust cargo || true \
|
||||||
&& pip3 install "docker-compose${COMPOSE_VERSION:+==}${COMPOSE_VERSION}" \
|
&& pip3 install "docker-compose${COMPOSE_VERSION:+==}${COMPOSE_VERSION}" \
|
||||||
&& apk del build-dependencies
|
&& apk del build-dependencies \
|
||||||
|
&& apk del build-dependencies-after-compose-v1.28.x || true
|
||||||
|
|
||||||
LABEL \
|
LABEL \
|
||||||
org.opencontainers.image.authors="Tobias Maier <tobias.maier@baucloud.com>" \
|
org.opencontainers.image.authors="Tobias Maier <tobias.maier@baucloud.com>" \
|
||||||
|
Loading…
Reference in New Issue
Block a user