Backup tuto3
This commit is contained in:
parent
9262917553
commit
43b5f7ba94
9 changed files with 525 additions and 0 deletions
10
pkg/postfix/Dockerfile
Normal file
10
pkg/postfix/Dockerfile
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
FROM alpine:3.7
|
||||
MAINTAINER Pierre-Olivier Mercier <nemunaire@nemunai.re>
|
||||
|
||||
RUN apk add --no-cache postfix
|
||||
|
||||
EXPOSE 25
|
||||
|
||||
CMD ["/usr/sbin/postfix", "-d"]
|
||||
|
||||
LABEL org.mobyproject.config='{"binds": ["/etc/resolv.conf:/etc/resolv.conf"], "capabilities": ["CAP_NET_BIND_SERVICE"]}'
|
||||
1
pkg/postfix/build.yml
Normal file
1
pkg/postfix/build.yml
Normal file
|
|
@ -0,0 +1 @@
|
|||
image: postfix
|
||||
13
pkg/postfix/docker-entrypoint.sh
Executable file
13
pkg/postfix/docker-entrypoint.sh
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
if [ `which unbound-$1 2>/dev/null` ]; then
|
||||
set -- unbound-"$@"
|
||||
elif [ ! `which $1 2>/dev/null` ]; then
|
||||
set -- unbound -dv "$@"
|
||||
fi
|
||||
|
||||
unbound-anchor
|
||||
|
||||
exec "$@"
|
||||
Reference in a new issue