From 7191bbbbd482848f2fd7a0df928af19e4ca51b75 Mon Sep 17 00:00:00 2001 From: Paul Date: Wed, 12 Aug 2020 09:34:51 +0200 Subject: [PATCH] Initial commit --- Dockerfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..e00d6bd --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +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"] +