aboutsummaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorTim Düsterhus <tim@bastelstu.be>2018-03-22 12:51:53 +0100
committerTim Düsterhus <tim@bastelstu.be>2018-03-22 12:51:53 +0100
commit5e85b7275de419ba5c794c2adbc82bb8cf1bfe71 (patch)
tree2e43350988a4ec2d727b0ed02fc57c5210204301 /docker
parent7ad5ddb561d03ffd18b16dcd9ceffac25d385234 (diff)
downloadrspamd-5e85b7275de419ba5c794c2adbc82bb8cf1bfe71.tar.gz
rspamd-5e85b7275de419ba5c794c2adbc82bb8cf1bfe71.zip
Fix style of Dockerfile
Diffstat (limited to 'docker')
-rw-r--r--docker/Dockerfile20
1 files changed, 10 insertions, 10 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 9ec9aece2..4cd61fff4 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -1,23 +1,23 @@
FROM debian:stretch
RUN apt-get update \
-&& apt-get install -y --no-install-recommends gnupg dirmngr curl \
-&& curl -fsSL http://rspamd.com/apt-stable/gpg.key | apt-key add - \
-&& apt-get purge -y --auto-remove curl \
-&& rm -rf /var/lib/apt/lists/*
+ && apt-get install -y --no-install-recommends gnupg dirmngr curl \
+ && curl -fsSL http://rspamd.com/apt-stable/gpg.key | apt-key add - \
+ && apt-get purge -y --auto-remove curl \
+ && rm -rf /var/lib/apt/lists/*
-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/ stretch main" > /etc/apt/sources.list.d/rspamd.list
RUN apt-get update \
-&& apt-get install -y rspamd \
-&& rm -rf /var/lib/apt/lists/*
+ && apt-get install -y rspamd \
+ && rm -rf /var/lib/apt/lists/*
RUN echo 'type = "console";' > /etc/rspamd/override.d/logging.inc \
-&& echo 'bind_socket = "*:11334";' > /etc/rspamd/override.d/worker-controller.inc \
-&& echo 'pidfile = false;' > /etc/rspamd/override.d/options.inc
+ && echo 'bind_socket = "*:11334";' > /etc/rspamd/override.d/worker-controller.inc \
+ && echo 'pidfile = false;' > /etc/rspamd/override.d/options.inc
VOLUME [ "/var/lib/rspamd" ]
CMD [ "/usr/bin/rspamd", "-f", "-u", "_rspamd", "-g", "_rspamd" ]
-EXPOSE 11333 11334
+EXPOSE 11333 11334