ci: fix linter errors

This commit is contained in:
Michael Grote 2023-10-30 23:58:51 +01:00
parent 6315f58f38
commit 9e49aeb2ef

View file

@ -1,17 +1,15 @@
#Dockerfile for a Postfix email relay service
# hadolint ignore=DL3007
FROM alpine:latest
MAINTAINER Juan Luis Baptiste juan.baptiste@gmail.com
RUN apk update && \
# hadolint ignore=DL3018,
RUN apk update --no-cache && \
apk add bash gawk cyrus-sasl cyrus-sasl-login cyrus-sasl-crammd5 mailx \
postfix && \
rm -rf /var/cache/apk/* && \
mkdir -p /var/log/supervisor/ /var/run/supervisor/ && \
sed -i -e 's/inet_interfaces = localhost/inet_interfaces = all/g' /etc/postfix/main.cf
COPY run.sh /
RUN chmod +x /run.sh
RUN newaliases
RUN chmod +x /run.sh && newaliases
EXPOSE 25
#ENTRYPOINT ["/run.sh"]