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/unbound/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 alpine:3.23
3
LABEL maintainer = "The Infrastructure Company GmbH <[email protected]>"
5
# install unbound from alpine:edge to get security patches
6
RUN apk add --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/edge/main unbound
8
# install other packages from regular alpine stable repo
9
RUN apk add --update --no-cache \
10
curl \
11
bind-tools \
12
coreutils \
13
bash \
14
openssl \
15
drill \
16
tzdata \
17
syslog-ng \
18
supervisor \
19
&& curl -o /etc/unbound/root.hints https://www.internic.net/domain/named.cache \
20
&& chown root:unbound /etc/unbound \
21
&& adduser unbound tty \
22
&& chmod 775 /etc/unbound
24
EXPOSE 53/udp 53/tcp
26
COPY docker-entrypoint.sh /docker-entrypoint.sh
28
# healthcheck (dig, ping)
29
COPY healthcheck.sh /healthcheck.sh
30
COPY syslog-ng.conf /etc/syslog-ng/syslog-ng.conf
31
COPY supervisord.conf /etc/supervisor/supervisord.conf
32
COPY stop-supervisor.sh /usr/local/sbin/stop-supervisor.sh
34
RUN chmod +x /healthcheck.sh
35
HEALTHCHECK --interval=30s --timeout=10s \
36
CMD sh -c '[ -f /tmp/healthcheck_status ] && [ "$(cat /tmp/healthcheck_status)" -eq 0 ] || exit 1'
38
ENTRYPOINT ["/docker-entrypoint.sh"]
39
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/supervisord.conf"]