Initial commit
This commit is contained in:
19
Dockerfile
Normal file
19
Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
||||
FROM ubuntu:22.04
|
||||
|
||||
WORKDIR /opt/opendkim
|
||||
|
||||
RUN apt update && \
|
||||
apt upgrade -y && \
|
||||
apt install -y opendkim inetutils-syslogd curl
|
||||
|
||||
RUN curl -SsfL -o /usr/bin/gomplate "https://github.com/hairyhenderson/gomplate/releases/download/v3.11.5/gomplate_linux-amd64-slim" && \
|
||||
chmod 755 /usr/bin/gomplate && \
|
||||
mkdir -p /etc/rsyslog.d/ && \
|
||||
touch /etc/rsyslog.d/stdout.conf && \
|
||||
echo "*.* /dev/stdout" > /etc/rsyslog.d/stdout.conf
|
||||
|
||||
COPY entrypoint.sh .
|
||||
COPY opendkim.conf.tpl .
|
||||
|
||||
EXPOSE 8892/tcp
|
||||
CMD ["/bin/bash", "entrypoint.sh"]
|
||||
Reference in New Issue
Block a user