mailu/nginx (gitc95f16a53b5244154fb3b0bc8cbc15c9527c0eb3)

Published 11 months ago by lub in lub/mailu

Installation

docker pull gitea.lubiland.de/lub/mailu/nginx:gitc95f16a53b5244154fb3b0bc8cbc15c9527c0eb3
sha256:ef2d1335bdae036a67d124fad925b41cc25dd3174c7b904bebaff0d049bec9b0

Image Layers

ADD file:756183bba9c7f4593c2b216e98e4208b9163c4c962ea0837ef88bd917609d001 in /
CMD ["/bin/sh"]
ENV TZ=Etc/UTC LANG=C.UTF-8
ARG MAILU_UID=1000
ARG MAILU_GID=1000
RUN |2 MAILU_UID=1000 MAILU_GID=1000 /bin/sh -c set -euxo pipefail ; addgroup -Sg ${MAILU_GID} mailu ; adduser -Sg ${MAILU_UID} -G mailu -h /app -g "mailu app" -s /bin/bash mailu ; apk add --no-cache bash ca-certificates curl python3 tzdata ; ! [[ "$(uname -m)" == x86_64 ]] || apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing hardened-malloc # buildkit
WORKDIR /app
CMD ["/bin/sh" "-c" "/bin/bash"]
COPY /app/venv/ /app/venv/ # buildkit
COPY /app/snuffleupagus.so /usr/lib/php81/modules/ # buildkit
ENV VIRTUAL_ENV=/app/venv PATH=/app/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ADMIN_ADDRESS=admin FRONT_ADDRESS=front FTS_ATTACHMENTS_ADDRESS=tika SMTP_ADDRESS=smtp IMAP_ADDRESS=imap OLETOOLS_ADDRESS=oletools REDIS_ADDRESS=redis ANTIVIRUS_ADDRESS=antivirus ANTISPAM_ADDRESS=antispam WEBMAIL_ADDRESS=webmail WEBDAV_ADDRESS=webdav
ARG VERSION
LABEL version=
RUN |1 VERSION= /bin/sh -c set -euxo pipefail ; apk add --no-cache certbot nginx nginx-mod-http-brotli nginx-mod-mail openssl ; apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/main dovecot-lua dovecot-pigeonhole-plugin 'dovecot-lmtpd<2.4' dovecot-pop3d dovecot-submissiond # buildkit
COPY conf/ /conf/ # buildkit
COPY /static/ /static/ # buildkit
COPY *.py / # buildkit
COPY dovecot/proxy.conf dovecot/login.lua /dovecot_conf/ # buildkit
RUN |1 VERSION= /bin/sh -c echo $VERSION >/version # buildkit
EXPOSE map[110/tcp:{} 143/tcp:{} 25/tcp:{} 4190/tcp:{} 443/tcp:{} 465/tcp:{} 587/tcp:{} 80/tcp:{} 993/tcp:{} 995/tcp:{}]
HEALTHCHECK &{["CMD-SHELL" "curl -skfLo /dev/null http://127.0.0.1:10204/health && kill -0 `cat /run/dovecot/master.pid`"] "0s" "0s" "1m0s" '\x00'}
VOLUME [/certs /overrides]
CMD ["/bin/sh" "-c" "/start.py"]

Labels

Key Value
version
Details
Container
11 months ago
4
OCI / Docker
linux/amd64
93 MiB
Versions (4) View all