ci: fix linter errors
This commit is contained in:
parent
6315f58f38
commit
9e49aeb2ef
1 changed files with 4 additions and 6 deletions
10
Dockerfile
10
Dockerfile
|
@ -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"]
|
||||
|
|
Loading…
Reference in a new issue