[Dovecot] Specify Dovecot version in case of errors with new versions
parent
4ba7194eb1
commit
706a854e6f
|
@ -2,8 +2,7 @@ FROM debian:buster-slim
|
||||||
LABEL maintainer "Andre Peters <andre.peters@servercow.de>"
|
LABEL maintainer "Andre Peters <andre.peters@servercow.de>"
|
||||||
|
|
||||||
ARG DEBIAN_FRONTEND=noninteractive
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
ARG DOVECOT=2.3.10.1
|
||||||
ENV DOVECOT 2.3.10.1
|
|
||||||
ENV LC_ALL C
|
ENV LC_ALL C
|
||||||
|
|
||||||
# Add groups and users before installing Dovecot to not break compatibility
|
# Add groups and users before installing Dovecot to not break compatibility
|
||||||
|
@ -82,7 +81,7 @@ RUN groupadd -g 5000 vmail \
|
||||||
syslog-ng-core \
|
syslog-ng-core \
|
||||||
syslog-ng-mod-redis \
|
syslog-ng-mod-redis \
|
||||||
&& apt-key adv --fetch-keys https://repo.dovecot.org/DOVECOT-REPO-GPG \
|
&& apt-key adv --fetch-keys https://repo.dovecot.org/DOVECOT-REPO-GPG \
|
||||||
&& echo 'deb https://repo.dovecot.org/ce-${DOVECOT}-latest/debian/buster buster main' > /etc/apt/sources.list.d/dovecot.list \
|
&& echo "deb https://repo.dovecot.org/ce-${DOVECOT}/debian/buster buster main" > /etc/apt/sources.list.d/dovecot.list \
|
||||||
&& apt-get update \
|
&& apt-get update \
|
||||||
&& apt-get -y --no-install-recommends install \
|
&& apt-get -y --no-install-recommends install \
|
||||||
dovecot-lua \
|
dovecot-lua \
|
||||||
|
|
Loading…
Reference in New Issue