1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-28 09:08:36 +02:00

upgrade docker-compose-arm to 1.13.0

This commit is contained in:
kev 2017-05-07 20:13:57 +08:00
parent 2e1e958708
commit 52cb206f83

View File

@ -5,26 +5,25 @@
FROM resin/rpi-raspbian:jessie
MAINTAINER EasyPi Software Foundation
ENV DOCKER_COMPOSE_VERSION 1.12.0
ENV DOCKER_COMPOSE_VERSION 1.13.0
ENV PYINSTALLER_VERSION 3.2.1
RUN set -xe \
&& apt-get update \
&& apt-get install -y build-essential \
curl \
python3-dev \
python-dev \
zlib1g-dev \
&& ln -sf /usr/bin/python3 /usr/bin/python \
&& curl https://bootstrap.pypa.io/get-pip.py | python \
&& pip install docker-compose==$DOCKER_COMPOSE_VERSION \
pyinstaller==$PYINSTALLER_VERSION \
&& cd /usr/local/lib/python3.4/dist-packages \
&& cd /usr/local/lib/python2.7/dist-packages \
&& pip download --no-binary :all: --no-deps pyinstaller==$PYINSTALLER_VERSION \
&& tar xjf PyInstaller-$PYINSTALLER_VERSION.tar.bz2 \
&& cd PyInstaller-$PYINSTALLER_VERSION/bootloader \
&& ./waf all --no-lsb \
&& cp -r ../PyInstaller/bootloader/Linux-32bit-arm/ ../../PyInstaller/bootloader/ \
&& cd /usr/local/lib/python3.4/dist-packages \
&& cd /usr/local/lib/python2.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 \