1
0
mirror of https://github.com/zokradonh/kopano-docker synced 2025-06-28 10:16:39 +00:00
kopano-docker/build/Dockerfile
Felix Bartels 371e7a0039
Document minimal versions required for docker and compose (#190)
* 1.19.0 is currently the minimal version you need to have to run this project

Signed-off-by: Felix Bartels <felix@host-consultants.de>

* mention minimal required versions in readme

Signed-off-by: Felix Bartels <felix@host-consultants.de>
2019-06-23 08:49:10 +02:00

13 lines
587 B
Docker

FROM docker:18.09.6
ENV COMPOSE_VERSION "1.19.0"
ENV REG_VERSION "0.16.0"
RUN apk add --no-cache bash curl expect make nano jq py-pip
RUN pip install --no-cache-dir docker-compose==${COMPOSE_VERSION}
# the 0.16.0 release of reg has a bug that breaks loading tags from the docker hub.
# issue is fixed in master, but not in a release.
# rel https://github.com/genuinetools/reg/issues/186
RUN curl -fSL "https://github.com/genuinetools/reg/releases/download/v$REG_VERSION/reg-linux-amd64" -o "/usr/local/bin/reg" \
&& chmod a+x "/usr/local/bin/reg"
WORKDIR /kopano-docker
CMD ["bash"]