Extend Dockerfile
Signed-off-by: Patrick Niebeling <patrick.niebeling@adacor.com>
This commit is contained in:
@ -7,7 +7,7 @@ ENV DEBIAN_FRONTEND=noninteractive
|
||||
# Install Rspamd
|
||||
RUN set -x \
|
||||
&& apt update \
|
||||
&& apt --no-install-recommends install -y lsb-release wget gnupg openssl ca-certificates \
|
||||
&& apt --no-install-recommends install -y lsb-release wget gnupg openssl ca-certificates less nano grep\
|
||||
&& DEBIAN_CODE_NAME=`lsb_release -c -s` \
|
||||
&& wget -O - https://rspamd.com/apt-stable/gpg.key | apt-key add - \
|
||||
&& echo "deb http://rspamd.com/apt-stable/ $DEBIAN_CODE_NAME main" > /etc/apt/sources.list.d/rspamd.list \
|
||||
@ -16,7 +16,8 @@ RUN set -x \
|
||||
&& apt --no-install-recommends install -y rspamd \
|
||||
&& apt autoremove --purge -y \
|
||||
&& apt clean \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& echo 'alias ll="ls -la --color"' >> ~/.bashrc
|
||||
|
||||
# Override default settings
|
||||
COPY conf/* /etc/rspamd/
|
||||
|
Reference in New Issue
Block a user