mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-02-17 18:00:41 +00:00
Postfix: Split TLSPol companion app into separate container (#6688)
* postfix: split postfix-tlspol service into new container * postfix-tls-pol: added debug mode * pf-tlspol: removed obsoleted standalone conf from Dockerfiles * pf-tlspol: use git instead of wget
This commit is contained in:
@@ -1,13 +1,3 @@
|
||||
FROM golang:1.25-bookworm AS builder
|
||||
WORKDIR /src
|
||||
|
||||
ENV CGO_ENABLED=0 \
|
||||
GO111MODULE=on
|
||||
|
||||
RUN git clone https://github.com/Zuplu/postfix-tlspol.git && \
|
||||
cd postfix-tlspol && \
|
||||
scripts/build.sh build-only
|
||||
|
||||
FROM debian:bookworm-slim
|
||||
|
||||
LABEL maintainer="The Infrastructure Company GmbH <info@servercow.de>"
|
||||
@@ -58,7 +48,6 @@ COPY rspamd-pipe-spam /usr/local/bin/rspamd-pipe-spam
|
||||
COPY whitelist_forwardinghosts.sh /usr/local/bin/whitelist_forwardinghosts.sh
|
||||
COPY stop-supervisor.sh /usr/local/sbin/stop-supervisor.sh
|
||||
COPY docker-entrypoint.sh /docker-entrypoint.sh
|
||||
COPY --from=builder /src/postfix-tlspol/build/postfix-tlspol /usr/local/bin/postfix-tlspol
|
||||
|
||||
RUN chmod +x /opt/postfix.sh \
|
||||
/usr/local/bin/rspamd-pipe-ham \
|
||||
|
||||
Reference in New Issue
Block a user