From 83e783a9d766d41c996ad3d6ec98e657f109e821 Mon Sep 17 00:00:00 2001 From: andryyy Date: Sun, 7 Jun 2020 22:43:35 +0200 Subject: [PATCH] [Dovecot] Specify Dovecot version in case of errors with new versions --- data/Dockerfiles/dovecot/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/data/Dockerfiles/dovecot/Dockerfile b/data/Dockerfiles/dovecot/Dockerfile index 117da71e..815e670c 100644 --- a/data/Dockerfiles/dovecot/Dockerfile +++ b/data/Dockerfiles/dovecot/Dockerfile @@ -2,6 +2,7 @@ FROM debian:buster-slim LABEL maintainer "Andre Peters " ARG DEBIAN_FRONTEND=noninteractive +ARV DOVECOT_VERSION=2.3.10.1 ENV LC_ALL C # Add groups and users before installing Dovecot to not break compatibility @@ -80,7 +81,7 @@ RUN groupadd -g 5000 vmail \ syslog-ng-core \ syslog-ng-mod-redis \ && apt-key adv --fetch-keys https://repo.dovecot.org/DOVECOT-REPO-GPG \ - && echo 'deb https://repo.dovecot.org/ce-2.3-latest/debian/buster buster main' > /etc/apt/sources.list.d/dovecot.list \ + && echo 'deb https://repo.dovecot.org/ce-${DOVECOT_VERSION}-latest/debian/buster buster main' > /etc/apt/sources.list.d/dovecot.list \ && apt-get update \ && apt-get -y --no-install-recommends install \ dovecot-lua \