2017-04-07 05:34:16 +02:00
|
|
|
#
|
|
|
|
# Dockerfile for building docker-compose-arm
|
|
|
|
#
|
|
|
|
|
2020-01-13 09:37:41 +02:00
|
|
|
FROM arm32v7/debian:buster
|
2017-04-07 05:34:16 +02:00
|
|
|
MAINTAINER EasyPi Software Foundation
|
|
|
|
|
2021-04-08 12:55:55 +02:00
|
|
|
ENV DOCKER_COMPOSE_VERSION=1.29.0
|
2021-02-24 08:38:45 +02:00
|
|
|
ENV PYINSTALLER_VERSION=4.1
|
2017-04-07 05:34:16 +02:00
|
|
|
|
|
|
|
RUN set -xe \
|
|
|
|
&& apt-get update \
|
|
|
|
&& apt-get install -y build-essential \
|
|
|
|
curl \
|
2019-07-07 11:18:56 +02:00
|
|
|
libffi-dev \
|
|
|
|
libssl-dev \
|
2020-01-13 09:37:41 +02:00
|
|
|
python3-dev \
|
2020-01-21 09:07:28 +02:00
|
|
|
upx-ucl \
|
2017-04-07 05:34:16 +02:00
|
|
|
zlib1g-dev \
|
2020-01-13 09:37:41 +02:00
|
|
|
&& curl https://bootstrap.pypa.io/get-pip.py | python3 \
|
2021-07-01 21:32:49 +02:00
|
|
|
&& pip install --no-cache-dir docker-compose==$DOCKER_COMPOSE_VERSION \
|
2017-04-07 05:34:16 +02:00
|
|
|
pyinstaller==$PYINSTALLER_VERSION \
|
2020-01-13 09:37:41 +02:00
|
|
|
&& cd /usr/local/lib/python3.7/dist-packages \
|
2017-04-07 05:34:16 +02:00
|
|
|
&& mkdir -p bin \
|
2020-02-08 15:18:45 +02:00
|
|
|
&& 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 \
|
2020-01-21 09:07:28 +02:00
|
|
|
&& touch compose/GITSHA \
|
2017-04-07 05:34:16 +02:00
|
|
|
&& pyinstaller docker-compose.spec \
|
|
|
|
&& cp docker-compose/dist/docker-compose /usr/local/bin/ \
|
|
|
|
&& docker-compose version
|
|
|
|
|
|
|
|
ENTRYPOINT ["docker-compose"]
|
|
|
|
CMD ["help"]
|