1
0
mirror of https://github.com/zokradonh/kopano-docker synced 2025-06-27 17:56:26 +00:00
kopano-docker/build/Dockerfile
Felix Bartels fff9f80b1c
build image also needs coreutils (#200)
Signed-off-by: Felix Bartels <felix@host-consultants.de>
2019-07-05 21:26:41 +02:00

13 lines
597 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 coreutils 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"]