1
0
mirror of https://github.com/zokradonh/kopano-docker synced 2025-06-07 16:06:14 +00:00
kopano-docker/utils/Dockerfile
h44z 4effa19d91
Fix build for official and supported releases (#15)
* Fix build for official and supported releases
* Fix config generation: skip missing config files
* kopano-search ignores KOPANO_CONFIG_PATH env var
* Use kopano core 8.7 by default
* Include APT release key in this repo
* Copy APT release key into image
2020-06-08 12:17:57 +02:00

34 lines
1002 B
Docker

# syntax = docker/dockerfile:1.0-experimental
ARG docker_repo=zokradonh
FROM ${docker_repo}/kopano_core
LABEL maintainer=az@zok.xyz \
org.label-schema.name="Kopano utils container" \
org.label-schema.description="Container that bundles various cli tools from Kopano Groupware Core" \
org.label-schema.url="https://kopano.io" \
org.label-schema.vcs-url="https://github.com/zokradonh/kopano-docker" \
org.label-schema.version=$KOPANO_CORE_VERSION \
org.label-schema.schema-version="1.0"
# hadolint ignore=SC2215
RUN --mount=type=secret,id=repocred,target=/etc/apt/auth.conf.d/kopano.conf \
apt-get update && apt-get install --no-install-recommends -y \
git \
iputils-ping \
kopano-backup \
kopano-migration-imap \
kopano-migration-pst \
ldap-utils \
less \
lsof \
man \
nano \
net-tools \
vim \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
CMD [ "/bin/bash" ]
ARG VCS_REF
LABEL org.label-schema.vcs-ref=$VCS_REF