diff --git a/config/service/dovecot/Containerfile b/config/service/dovecot/Containerfile index a42b166..cfb16d8 100644 --- a/config/service/dovecot/Containerfile +++ b/config/service/dovecot/Containerfile @@ -1,8 +1,7 @@ FROM docker.io/debian:stable-slim ARG VERSION=2.3.4 -RUN apt-get update -y && \ - apt-get install -y --no-install-recommends \ +RUN apt-get update -y && apt-get install -y --no-install-recommends \ dovecot-imapd=1:${VERSION}* dovecot-lmtpd=1:${VERSION}* dovecot-mysql=1:${VERSION}* \ dovecot-sieve=1:${VERSION}* dovecot-managesieved=1:${VERSION}* \ gettext ca-certificates curl diff --git a/config/service/git/Containerfile b/config/service/git/Containerfile index ba46492..c680044 100644 --- a/config/service/git/Containerfile +++ b/config/service/git/Containerfile @@ -1,7 +1,7 @@ FROM docker.io/debian:stable-slim -RUN apt-get update -y && \ - apt-get install -y --no-install-recommends git openssh-server ca-certificates +RUN apt-get update -y && apt-get install -y --no-install-recommends \ + ca-certificates git openssh-server RUN addgroup --system --gid 10000 git RUN adduser --system --uid 10000 --ingroup git --shell /usr/bin/git-shell --home /home/git git diff --git a/config/service/postfix/Containerfile b/config/service/postfix/Containerfile index 6267cc3..09c1646 100644 --- a/config/service/postfix/Containerfile +++ b/config/service/postfix/Containerfile @@ -1,8 +1,7 @@ FROM docker.io/debian:stable-slim ARG VERSION=3.4.14 -RUN apt-get update -y && \ - apt-get install -y --no-install-recommends \ +RUN apt-get update -y && apt-get install -y --no-install-recommends \ postfix=${VERSION}* postfix-mysql=${VERSION}* syslog-ng-core gettext ca-certificates COPY container/config /etc/postfix diff --git a/config/service/prosody/Containerfile b/config/service/prosody/Containerfile index 256d6e1..9b643bc 100644 --- a/config/service/prosody/Containerfile +++ b/config/service/prosody/Containerfile @@ -1,14 +1,14 @@ FROM docker.io/debian:stable-slim ARG VERSION=0.11.8 -RUN apt-get update -y && apt-get upgrade -y && \ - apt-get install -y --no-install-recommends curl mercurial gnupg ca-certificates apt-transport-https +RUN apt-get update -y && apt-get install -y --no-install-recommends \ + curl mercurial gnupg ca-certificates apt-transport-https RUN echo "deb https://packages.prosody.im/debian stable main" > /etc/apt/sources.list.d/prosody.list && \ echo "deb-src https://packages.prosody.im/debian stable main" >> /etc/apt/sources.list.d/prosody.list && \ curl -o - https://prosody.im/files/prosody-debian-packages.key | apt-key add - && \ - apt-get update -y && \ - apt-get install -y --no-install-recommends lua-dbi-mysql lua-event lua-zlib lua-sec lua-bitop prosody=${VERSION}* + apt-get update -y && apt-get install -y --no-install-recommends \ + lua-dbi-mysql lua-event lua-zlib lua-sec lua-bitop prosody=${VERSION}* RUN mkdir -p /usr/lib/prosody/community-modules && \ hg clone https://hg.prosody.im/prosody-modules /usr/lib/prosody/community-modules diff --git a/config/service/radicale/Containerfile b/config/service/radicale/Containerfile index a40842c..15db33d 100644 --- a/config/service/radicale/Containerfile +++ b/config/service/radicale/Containerfile @@ -1,8 +1,8 @@ FROM docker.io/debian:stable-slim ARG VERSION=3.0.6 -RUN apt-get update -y && apt-get upgrade -y && \ - apt-get install -y --no-install-recommends python3 python3-pip python3-setuptools gettext +RUN apt-get update -y && apt-get install -y --no-install-recommends \ + python3 python3-pip python3-setuptools gettext RUN python3 -m pip install --upgrade pip && \ python3 -m pip install radicale==$VERSION https://github.com/Unrud/RadicaleIMAP/archive/master.tar.gz diff --git a/config/service/rspamd/Containerfile b/config/service/rspamd/Containerfile index f750cc1..51ea25c 100644 --- a/config/service/rspamd/Containerfile +++ b/config/service/rspamd/Containerfile @@ -1,8 +1,8 @@ FROM docker.io/debian:stable-slim ARG VERSION=2.7 -RUN apt-get update -y && \ - apt-get install -y --no-install-recommends curl gnupg ca-certificates +RUN apt-get update -y && apt-get install -y --no-install-recommends \ + ca-certificates curl gnupg RUN echo "deb https://rspamd.com/apt-stable/ buster main" > /etc/apt/sources.list.d/rspamd.list && \ echo "deb-src https://rspamd.com/apt-stable/ buster main" >> /etc/apt/sources.list.d/rspamd.list && \