-FROM debian:stretch
+FROM debian:buster
RUN apt-get update && apt-get install -y --no-install-recommends gnupg dirmngr && rm -rf /var/lib/apt/lists/*
&& rm -rf "$GNUPGHOME" \
&& apt-key list > /dev/null
-RUN echo "deb http://rspamd.com/apt-stable/ stretch main" > /etc/apt/sources.list.d/rspamd.list
+RUN echo "deb http://rspamd.com/apt-stable/ buster main" > /etc/apt/sources.list.d/rspamd.list
RUN apt-get update \
&& apt-get install -y rspamd \