-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5922 from mailcow/staging
2024-06
- Loading branch information
Showing
73 changed files
with
11,377 additions
and
1,346 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
FROM alpine:3.18 | ||
FROM alpine:3.20 | ||
|
||
LABEL maintainer "The Infrastructure Company GmbH <[email protected]>" | ||
|
||
ARG PIP_BREAK_SYSTEM_PACKAGES=1 | ||
|
||
RUN apk upgrade --no-cache \ | ||
&& apk add --update --no-cache \ | ||
bash \ | ||
|
@@ -15,9 +15,7 @@ RUN apk upgrade --no-cache \ | |
tini \ | ||
tzdata \ | ||
python3 \ | ||
py3-pip \ | ||
&& pip3 install --upgrade pip \ | ||
&& pip3 install acme-tiny | ||
acme-tiny --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community/ | ||
|
||
COPY acme.sh /srv/acme.sh | ||
COPY functions.sh /srv/functions.sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
FROM debian:bullseye-slim | ||
FROM debian:bookworm-slim | ||
|
||
RUN apt update && apt install pigz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM alpine:3.19 | ||
FROM alpine:3.20 | ||
|
||
LABEL maintainer "The Infrastructure Company GmbH <[email protected]>" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM alpine:3.19 | ||
FROM alpine:3.20 | ||
|
||
LABEL maintainer "The Infrastructure Company GmbH <[email protected]>" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM alpine:3.19 | ||
FROM alpine:3.20 | ||
LABEL maintainer "The Infrastructure Company GmbH <[email protected]>" | ||
|
||
# renovate: datasource=github-releases depName=tianon/gosu versioning=semver-coerced extractVersion=^(?<version>.*)$ | ||
|
@@ -24,6 +24,7 @@ RUN addgroup -g 5000 vmail \ | |
envsubst \ | ||
ca-certificates \ | ||
curl \ | ||
coreutils \ | ||
jq \ | ||
lua \ | ||
lua-cjson \ | ||
|
@@ -62,7 +63,7 @@ RUN addgroup -g 5000 vmail \ | |
perl-package-stash-xs \ | ||
perl-par-packer \ | ||
perl-parse-recdescent \ | ||
perl-lockfile-simple --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community/ \ | ||
perl-lockfile-simple \ | ||
libproc \ | ||
perl-readonly \ | ||
perl-regexp-common \ | ||
|
@@ -104,13 +105,12 @@ RUN addgroup -g 5000 vmail \ | |
dovecot-pigeonhole-plugin \ | ||
dovecot-pop3d \ | ||
dovecot-fts-solr \ | ||
dovecot-fts-flatcurve \ | ||
&& arch=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/amd64/) \ | ||
&& wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$arch" \ | ||
&& chmod +x /usr/local/bin/gosu \ | ||
&& gosu nobody true | ||
|
||
# RUN cpan LockFile::Simple | ||
|
||
COPY trim_logs.sh /usr/local/bin/trim_logs.sh | ||
COPY clean_q_aged.sh /usr/local/bin/clean_q_aged.sh | ||
COPY syslog-ng.conf /etc/syslog-ng/syslog-ng.conf | ||
|
@@ -129,6 +129,7 @@ COPY stop-supervisor.sh /usr/local/sbin/stop-supervisor.sh | |
COPY quarantine_notify.py /usr/local/bin/quarantine_notify.py | ||
COPY quota_notify.py /usr/local/bin/quota_notify.py | ||
COPY repl_health.sh /usr/local/bin/repl_health.sh | ||
COPY optimize-fts.sh /usr/local/bin/optimize-fts.sh | ||
|
||
ENTRYPOINT ["/docker-entrypoint.sh"] | ||
CMD exec /usr/bin/supervisord -c /etc/supervisor/supervisord.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
|
||
if [[ "${SKIP_SOLR}" =~ ^([yY][eE][sS]|[yY])+$ && ! "${FLATCURVE_EXPERIMENTAL}" =~ ^([yY][eE][sS]|[yY])+$ ]]; then | ||
exit 0 | ||
else | ||
doveadm fts optimize -A | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM alpine:3.19 | ||
FROM alpine:3.20 | ||
LABEL maintainer "The Infrastructure Company GmbH <[email protected]>" | ||
|
||
WORKDIR /app | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM alpine:3.19 | ||
FROM alpine:3.20 | ||
LABEL maintainer "The Infrastructure Company GmbH <[email protected]>" | ||
|
||
ARG PIP_BREAK_SYSTEM_PACKAGES=1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM php:8.2-fpm-alpine3.18 | ||
FROM php:8.2-fpm-alpine3.20 | ||
LABEL maintainer "The Infrastructure Company GmbH <[email protected]>" | ||
|
||
# renovate: datasource=github-tags depName=krakjoe/apcu versioning=semver-coerced extractVersion=^v(?<version>.*)$ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM debian:bullseye-slim | ||
FROM debian:bookworm-slim | ||
LABEL maintainer "The Infrastructure Company GmbH <[email protected]>" | ||
|
||
ARG DEBIAN_FRONTEND=noninteractive | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
@version: 3.28 | ||
@version: 3.38 | ||
@include "scl.conf" | ||
options { | ||
chain_hostnames(off); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
@version: 3.28 | ||
@version: 3.38 | ||
@include "scl.conf" | ||
options { | ||
chain_hostnames(off); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ FROM debian:bullseye-slim | |
LABEL maintainer "The Infrastructure Company GmbH <[email protected]>" | ||
|
||
ARG DEBIAN_FRONTEND=noninteractive | ||
ARG RSPAMD_VER=rspamd_3.7.5-2~8c86c1676 | ||
ARG CODENAME=bullseye | ||
ENV LC_ALL C | ||
|
||
|
@@ -12,11 +13,14 @@ RUN apt-get update && apt-get install -y \ | |
apt-transport-https \ | ||
dnsutils \ | ||
netcat \ | ||
&& apt-key adv --fetch-keys https://rspamd.com/apt-stable/gpg.key \ | ||
&& echo "deb https://rspamd.com/apt-stable/ $CODENAME main" > /etc/apt/sources.list.d/rspamd.list \ | ||
&& apt-get update \ | ||
&& apt-get --no-install-recommends -y install rspamd redis-tools procps nano \ | ||
&& rm -rf /var/lib/apt/lists/* \ | ||
wget \ | ||
redis-tools \ | ||
procps \ | ||
nano \ | ||
&& arch=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/amd64/) \ | ||
&& wget -P /tmp https://rspamd.com/apt-stable/pool/main/r/rspamd/${RSPAMD_VER}~${CODENAME}_${arch}.deb\ | ||
&& apt install -y /tmp/${RSPAMD_VER}~${CODENAME}_${arch}.deb \ | ||
&& rm -rf /var/lib/apt/lists/* /tmp/*\ | ||
&& apt-get autoremove --purge \ | ||
&& apt-get clean \ | ||
&& mkdir -p /run/rspamd \ | ||
|
@@ -25,7 +29,6 @@ RUN apt-get update && apt-get install -y \ | |
&& sed -i 's/#analysis_keyword_table > 0/analysis_cat_table.macro_exist == "M"/g' /usr/share/rspamd/lualib/lua_scanners/oletools.lua | ||
|
||
COPY settings.conf /etc/rspamd/settings.conf | ||
COPY metadata_exporter.lua /usr/share/rspamd/plugins/metadata_exporter.lua | ||
COPY set_worker_password.sh /set_worker_password.sh | ||
COPY docker-entrypoint.sh /docker-entrypoint.sh | ||
|
||
|
Oops, something went wrong.