[Dovecot] Specify Dovecot version in case of errors with new versions

master
andryyy 2020-06-07 22:47:46 +02:00
parent 83e783a9d7
commit ddf1c81bc5
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
1 changed files with 3 additions and 2 deletions

View File

@ -2,7 +2,8 @@ FROM debian:buster-slim
LABEL maintainer "Andre Peters <andre.peters@servercow.de>"
ARG DEBIAN_FRONTEND=noninteractive
ARV DOVECOT_VERSION=2.3.10.1
ENV DOVECOT 2.3.10.1
ENV LC_ALL C
# Add groups and users before installing Dovecot to not break compatibility
@ -81,7 +82,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-${DOVECOT_VERSION}-latest/debian/buster buster main' > /etc/apt/sources.list.d/dovecot.list \
&& echo 'deb https://repo.dovecot.org/ce-${DOVECOT}-latest/debian/buster buster main' > /etc/apt/sources.list.d/dovecot.list \
&& apt-get update \
&& apt-get -y --no-install-recommends install \
dovecot-lua \