2024-06-05 11:52:48 +02:00
|
|
|
FROM alpine:3.20
|
2021-02-18 08:48:12 +01:00
|
|
|
|
2024-02-15 17:43:01 +01:00
|
|
|
LABEL maintainer "The Infrastructure Company GmbH <info@servercow.de>"
|
2017-10-05 23:38:33 +02:00
|
|
|
|
2023-12-13 18:39:21 +01:00
|
|
|
ARG PIP_BREAK_SYSTEM_PACKAGES=1
|
2019-05-20 21:27:47 +02:00
|
|
|
WORKDIR /app
|
|
|
|
|
2021-02-18 08:48:12 +01:00
|
|
|
RUN apk add --update --no-cache python3 \
|
|
|
|
py3-pip \
|
|
|
|
openssl \
|
|
|
|
tzdata \
|
2022-08-09 20:29:33 +02:00
|
|
|
py3-psutil \
|
2024-01-08 12:07:22 +01:00
|
|
|
py3-redis \
|
|
|
|
py3-async-timeout \
|
2021-02-18 08:48:12 +01:00
|
|
|
&& pip3 install --upgrade pip \
|
2022-08-22 16:14:04 +02:00
|
|
|
fastapi \
|
|
|
|
uvicorn \
|
|
|
|
aiodocker \
|
2024-01-08 12:07:22 +01:00
|
|
|
docker
|
2023-06-12 16:37:48 +02:00
|
|
|
RUN mkdir /app/modules
|
2022-08-22 16:14:04 +02:00
|
|
|
|
2022-08-23 11:57:05 +02:00
|
|
|
COPY docker-entrypoint.sh /app/
|
2023-06-12 16:37:48 +02:00
|
|
|
COPY main.py /app/main.py
|
|
|
|
COPY modules/ /app/modules/
|
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
[Docker API] Create pipe to pass Rspamd UI worker password
[Dovecot] Pull Spamassassin ruleset to be read by Rspamd (MANY THANKS to Peer Heinlein!)
[Dovecot] Garbage collector for deleted maildirs (set keep time via MAILDIR_GC_TIME which defaults to 1440 minutes)
[Web] Flush memcached after mailbox item changes, fixes #1808
[Web] Fix duplicate IDs, fixes #1792
[Compose] Use SQL sockets
[PHP-FPM] Update APCu and Redis libs
[Dovecot] Encrypt maildir with global key pair in crypt-vol-1 (BACKUP!), also fixes #1791
[Web] Fix deletion of spam aliases
[Helper] Add "crypt" to backup script
[Helper] Override file for external SQL socket (not supported!)
[Compose] New images for Rspamd, PHP-FPM, SOGo, Dovecot, Docker API, Watchdog, ACME, Postfix
2018-09-29 22:01:23 +02:00
|
|
|
|
2022-08-23 11:57:05 +02:00
|
|
|
ENTRYPOINT ["/bin/sh", "/app/docker-entrypoint.sh"]
|
2023-06-12 16:37:48 +02:00
|
|
|
CMD exec python main.py
|