16 lines
445 B
Docker
16 lines
445 B
Docker
FROM alpine:edge
|
|
|
|
# We have to upgrade musl, or rspamd will not work.
|
|
RUN echo 'http://dl-cdn.alpinelinux.org/alpine/edge/testing' >> /etc/apk/repositories \
|
|
&& apk add --no-cache rspamd rspamd-controller rspamd-proxy rsyslog ca-certificates
|
|
|
|
RUN mkdir /run/rspamd
|
|
|
|
RUN echo 'type = "console";' > /etc/rspamd/override.d/logging.inc \
|
|
&& echo 'pidfile = false;' > /etc/rspamd/override.d/options.inc
|
|
|
|
|
|
COPY start.sh /start.sh
|
|
|
|
CMD ["/start.sh"]
|