postgrey/Dockerfile

16 lines
297 B
Docker

FROM debian:buster
EXPOSE 24
RUN DEBIAN_FRONTEND=noninteractive && \
apt-get update && \
apt-get install -y --no-install-recommends \
postgrey && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
VOLUME /var/lib/postgrey
ENTRYPOINT ["postgrey", "--inet=0.0.0.0:24"]