removed unused etc files

This commit is contained in:
andreas
2023-04-09 11:03:56 +00:00
parent d5f5750911
commit 820d8f71d7
243 changed files with 29 additions and 6453 deletions

View File

@@ -4,13 +4,13 @@ FROM ubuntu:20.04
ENV TZ Europe/Berlin
RUN <<EOF
apt-get update
apt-get install -y postfix
apt-get install -y postfix bind9-dnsutils
# cleanup
apt-get autoclean
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* ~/.cache ~/.npm
echo zntrl.de >>/etc/mailname
EOF
COPY etc/postfix/ /etc/postfix/
RUN cp /etc/resolv.conf /var/spool/postfix/etc/resolv.conf
COPY --chmod=0775 entrypoint.sh /entrypoint.sh
EXPOSE 25
VOLUME /var/spool/postfix