ci: fix linter errors
This commit is contained in:
parent
9e49aeb2ef
commit
09f306c193
1 changed files with 9 additions and 7 deletions
16
Dockerfile
16
Dockerfile
|
@ -1,15 +1,17 @@
|
||||||
#Dockerfile for a Postfix email relay service
|
#Dockerfile for a Postfix email relay service
|
||||||
# hadolint ignore=DL3007
|
# hadolint ignore=DL3007
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
# hadolint ignore=DL3018,
|
|
||||||
RUN apk update --no-cache && \
|
|
||||||
apk add bash gawk cyrus-sasl cyrus-sasl-login cyrus-sasl-crammd5 mailx \
|
|
||||||
postfix && \
|
|
||||||
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 /
|
COPY run.sh /
|
||||||
RUN chmod +x /run.sh && newaliases
|
|
||||||
|
# hadolint ignore=DL3018
|
||||||
|
RUN apk update --no-cache && \
|
||||||
|
apk add --no-cache bash gawk cyrus-sasl cyrus-sasl-login cyrus-sasl-crammd5 mailx \
|
||||||
|
postfix && \
|
||||||
|
mkdir -p /var/log/supervisor/ /var/run/supervisor/ && \
|
||||||
|
sed -i -e 's/inet_interfaces = localhost/inet_interfaces = all/g' /etc/postfix/main.c && \
|
||||||
|
chmod +x /run.sh && \
|
||||||
|
newaliases
|
||||||
|
|
||||||
EXPOSE 25
|
EXPOSE 25
|
||||||
#ENTRYPOINT ["/run.sh"]
|
#ENTRYPOINT ["/run.sh"]
|
||||||
|
|
Loading…
Add table
Reference in a new issue