1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-10 11:10:27 +02:00

fix docker-compose-arm

This commit is contained in:
kev 2020-01-21 15:07:28 +08:00
parent a881a53cb1
commit 681f109a24

View File

@ -15,14 +15,16 @@ RUN set -xe \
libffi-dev \
libssl-dev \
python3-dev \
upx-ucl \
zlib1g-dev \
&& curl https://bootstrap.pypa.io/get-pip.py | python3 \
&& pip install docker-compose==$DOCKER_COMPOSE_VERSION \
pyinstaller==$PYINSTALLER_VERSION \
&& cd /usr/local/lib/python3.7/dist-packages \
&& mkdir -p bin \
&& curl -sSL https://github.com/docker/compose/raw/$DOCKER_COMPOSE_VERSION/docker-compose.spec > docker-compose.spec \
&& curl -sSL https://github.com/docker/compose/raw/$DOCKER_COMPOSE_VERSION/bin/docker-compose > bin/docker-compose \
&& curl -sSL https://github.com/docker/compose/raw/v$DOCKER_COMPOSE_VERSION/docker-compose.spec > docker-compose.spec \
&& curl -sSL https://github.com/docker/compose/raw/v$DOCKER_COMPOSE_VERSION/bin/docker-compose > bin/docker-compose \
&& touch compose/GITSHA \
&& pyinstaller docker-compose.spec \
&& cp docker-compose/dist/docker-compose /usr/local/bin/ \
&& docker-compose version