public
nobgit
read
NobMail
Based on mailcow: dockerized
Languages
Repository composition by tracked source files.
PHP
49%
JavaScript
35%
HTML
9%
CSS
4%
Shell
2%
Python
1%
Lua
0%
Perl
0%
Ruby
0%
SCSS
0%
Create file
Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git
Trace
data/Dockerfiles/rspamd/Dockerfile
Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.
Author
Date
Commit
Line
Code
1
FROM debian:trixie-slim
2
LABEL maintainer="The Infrastructure Company GmbH <[email protected]>"
4
ARG DEBIAN_FRONTEND=noninteractive
5
ARG RSPAMD_VER=rspamd_4.1.0-1~e2b0b18
6
ARG CODENAME=trixie
7
ENV LC_ALL=C
9
RUN apt-get update && apt-get install -y --no-install-recommends \
10
tzdata \
11
ca-certificates \
12
gnupg2 \
13
apt-transport-https \
14
dnsutils \
15
netcat-traditional \
16
wget \
17
redis-tools \
18
procps \
19
nano \
20
lua-cjson \
21
&& arch=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/amd64/) \
22
&& wget -P /tmp https://rspamd.com/apt-stable/pool/main/r/rspamd/${RSPAMD_VER}~${CODENAME}_${arch}.deb\
23
&& apt install -y /tmp/${RSPAMD_VER}~${CODENAME}_${arch}.deb \
24
&& rm -rf /var/lib/apt/lists/* /tmp/*\
25
&& apt-get autoremove --purge \
26
&& apt-get clean \
27
&& mkdir -p /run/rspamd \
28
&& chown _rspamd:_rspamd /run/rspamd \
29
&& echo 'alias ll="ls -la --color"' >> ~/.bashrc \
30
&& sed -i 's/#analysis_keyword_table > 0/analysis_cat_table.macro_exist == "M"/g' /usr/share/rspamd/lualib/lua_scanners/oletools.lua
32
COPY settings.conf /etc/rspamd/settings.conf
33
COPY set_worker_password.sh /set_worker_password.sh
34
COPY docker-entrypoint.sh /docker-entrypoint.sh
36
ENTRYPOINT ["/docker-entrypoint.sh"]
38
STOPSIGNAL SIGTERM
40
CMD ["/usr/bin/rspamd", "-f", "-u", "_rspamd", "-g", "_rspamd"]