Debian Codegraph @

test/integration/Dockerfile.local

raw
1 FROM ubuntu:24.04
2
3 RUN apt-get update && apt-get install -y \
4 redis-tools \
5 curl \
6 ca-certificates \
7 libluajit-5.1-2 \
8 libglib2.0-0 \
9 libssl3 \
10 libicu74 \
11 libsodium23 \
12 libhyperscan5 \
13 libpcre2-8-0 \
14 libjemalloc2 \
15 libmagic1 \
16 libarchive13 \
17 libzstd1 \
18 libbrotli1 \
19 libfann2 \
20 libstemmer0d \
21 libasan8 \
22 libsqlite3-0 \
23 libunwind8 \
24 && rm -rf /var/lib/apt/lists/*
25
26 COPY install/usr /usr
27 COPY install/etc /etc
28
29 RUN mkdir -p /var/lib/rspamd /var/log/rspamd /var/run/rspamd && \
30 echo "/usr/lib/rspamd" > /etc/ld.so.conf.d/rspamd.conf && \
31 ldconfig
32
33 EXPOSE 11333 11334 11335
34
35 CMD ["/usr/bin/rspamd", "-f", "-c", "/etc/rspamd/rspamd.conf", "--insecure"]