mirror of
https://github.com/Mailu/Mailu.git
synced 2025-01-18 03:21:36 +02:00
Use names for docker build stages in dovecot Dockerfile
This commit is contained in:
parent
99ecaee7b9
commit
dfe092eb46
@ -1,4 +1,4 @@
|
|||||||
ARG DISTRO=alpine:3.10
|
ARG DISTRO=alpine:3.10 as builder
|
||||||
FROM $DISTRO
|
FROM $DISTRO
|
||||||
WORKDIR /tmp
|
WORKDIR /tmp
|
||||||
RUN apk add git build-base automake autoconf libtool dovecot-dev xapian-core-dev icu-dev
|
RUN apk add git build-base automake autoconf libtool dovecot-dev xapian-core-dev icu-dev
|
||||||
@ -27,7 +27,7 @@ RUN apk add --no-cache \
|
|||||||
dovecot dovecot-lmtpd dovecot-pop3d dovecot-submissiond dovecot-pigeonhole-plugin rspamd-client xapian-core \
|
dovecot dovecot-lmtpd dovecot-pop3d dovecot-submissiond dovecot-pigeonhole-plugin rspamd-client xapian-core \
|
||||||
&& mkdir /var/lib/dovecot
|
&& mkdir /var/lib/dovecot
|
||||||
|
|
||||||
COPY --from=0 /usr/lib/dovecot/lib21_fts_xapian_plugin.* /usr/lib/dovecot/
|
COPY --from=builder /usr/lib/dovecot/lib21_fts_xapian_plugin.* /usr/lib/dovecot/
|
||||||
|
|
||||||
COPY conf /conf
|
COPY conf /conf
|
||||||
COPY start.py /start.py
|
COPY start.py /start.py
|
||||||
|
Loading…
x
Reference in New Issue
Block a user