public
nobgit
read
NobMail
Based on mailcow: dockerized
Languages
Repository composition by tracked source files.
PHP
49%
JavaScript
35%
HTML
9%
CSS
4%
Shell
2%
Python
1%
Lua
0%
Perl
0%
Ruby
0%
SCSS
0%
Create file
Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git
Trace
data/Dockerfiles/postfix-tlspol/Dockerfile
Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.
Author
Date
Commit
Line
Code
1
FROM golang:1.25-bookworm AS builder
2
WORKDIR /src
4
ENV CGO_ENABLED=0 \
5
GO111MODULE=on \
6
NOOPT=1 \
7
VERSION=1.8.22
9
RUN git clone --branch v${VERSION} https://github.com/Zuplu/postfix-tlspol && \
10
cd /src/postfix-tlspol && \
11
scripts/build.sh build-only
14
FROM debian:bookworm-slim
15
LABEL maintainer="The Infrastructure Company GmbH <[email protected]>"
17
ARG DEBIAN_FRONTEND=noninteractive
18
ENV LC_ALL=C
20
RUN apt-get update && apt-get install -y --no-install-recommends \
21
ca-certificates \
22
dirmngr \
23
dnsutils \
24
iputils-ping \
25
sudo \
26
supervisor \
27
redis-tools \
28
syslog-ng \
29
syslog-ng-core \
30
syslog-ng-mod-redis \
31
tzdata \
32
&& rm -rf /var/lib/apt/lists/* \
33
&& touch /etc/default/locale
35
COPY supervisord.conf /etc/supervisor/supervisord.conf
36
COPY syslog-ng.conf /etc/syslog-ng/syslog-ng.conf
37
COPY syslog-ng-redis_slave.conf /etc/syslog-ng/syslog-ng-redis_slave.conf
38
COPY postfix-tlspol.sh /opt/postfix-tlspol.sh
39
COPY stop-supervisor.sh /usr/local/sbin/stop-supervisor.sh
40
COPY docker-entrypoint.sh /docker-entrypoint.sh
41
COPY --from=builder /src/postfix-tlspol/build/postfix-tlspol /usr/local/bin/postfix-tlspol
43
RUN chmod +x /opt/postfix-tlspol.sh \
44
/usr/local/sbin/stop-supervisor.sh \
45
/docker-entrypoint.sh
46
RUN rm -rf /tmp/* /var/tmp/*
48
ENTRYPOINT ["/docker-entrypoint.sh"]
50
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/supervisord.conf"]