From 841d181402253f0799f5ae524ff38f6c5b3bf560 Mon Sep 17 00:00:00 2001 From: zokradonh Date: Wed, 3 Mar 2021 09:37:21 +0100 Subject: [PATCH] Added mount of repository secrets (#477) --- kdav/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kdav/Dockerfile b/kdav/Dockerfile index b111e85..29b2a79 100644 --- a/kdav/Dockerfile +++ b/kdav/Dockerfile @@ -30,7 +30,7 @@ LABEL maintainer=az@zok.xyz \ org.label-schema.schema-version="1.0" # install Kopano kDAV -RUN \ +RUN --mount=type=secret,id=repocred,target=/etc/apt/auth.conf.d/kopano.conf \ set -x && \ apt-get update && apt-get install -y --no-install-recommends \ php-mbstring \ @@ -62,4 +62,4 @@ ENTRYPOINT ["/usr/bin/dumb-init", "--"] CMD [ "/kopano/start.sh" ] ARG VCS_REF -LABEL org.label-schema.vcs-ref=$VCS_REF \ No newline at end of file +LABEL org.label-schema.vcs-ref=$VCS_REF