add spamass-milter
This commit is contained in:
parent
a6a40f3932
commit
80ef87c91d
@ -1,13 +1,13 @@
|
|||||||
FROM thallian/confd-env:latest
|
FROM thallian/confd-env:latest
|
||||||
|
|
||||||
RUN apk add --no-cache postfix postfix-ldap rsyslog spamassassin-client g++ make tar
|
RUN apk add --no-cache postfix postfix-ldap rsyslog spamassassin-client libstdc++ g++ make tar
|
||||||
RUN apk add --no-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ --allow-untrusted libmilter-dev
|
RUN apk add --no-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ --allow-untrusted libmilter-dev
|
||||||
|
|
||||||
RUN mkdir /tmp/spamass-milter
|
RUN mkdir /tmp/spamass-milter
|
||||||
RUN wget -qO- http://download.savannah.gnu.org/releases/spamass-milt/spamass-milter-0.4.0.tar.gz | tar -xz -C /tmp/spamass-milter --strip 1
|
RUN wget -qO- http://download.savannah.gnu.org/releases/spamass-milt/spamass-milter-0.4.0.tar.gz | tar -xz -C /tmp/spamass-milter --strip 1
|
||||||
WORKDIR /tmp/spamass-milter
|
WORKDIR /tmp/spamass-milter
|
||||||
RUN ./configure && make && make install
|
RUN ./configure && make && make install
|
||||||
#RUN rm -rf /tmp/spamass-milter
|
RUN rm -rf /tmp/spamass-milter
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
|
|
||||||
RUN chown root /var/spool/postfix/
|
RUN chown root /var/spool/postfix/
|
||||||
|
Loading…
Reference in New Issue
Block a user