mcl-mail (0.6.1)

Published 2026-11-23 04:44:35 +00:00 by mcl-mail-publisher

Installation

docker pull git.macula.io/macula-services/mcl-mail:0.6.1
sha256:971e0747e63ae4bd41af24fbdfc58a072f074c2c3a1ed3a5644c0c6f3637dd08

About this package

Macula runtime base for releases that link erlang rocksdb: macula-pq-runtime (Debian trixie, OpenSSL 3.5+ ML-DSA) plus shared librocksdb 11.1.2 and its compression libraries

Image layers

# debian.sh --arch 'amd64' out/ 'trixie' '@1789689600'
RUN /bin/sh -c apt-get update -y && apt-get install -y --no-install-recommends openssl ca-certificates libstdc++6 libncurses6 curl locales && apt-get clean && rm -rf /var/lib/apt/lists/* && rm -rf /var/log/apt/* /var/log/dpkg.log /var/log/alternatives.log /var/cache/ldconfig/aux-cache /var/cache/debconf/*-old # buildkit
ENV LANG=C.UTF-8 LC_ALL=C.UTF-8
RUN /bin/sh -c openssl version && openssl list -signature-algorithms | grep -qi "ml-dsa" || { echo "ML-DSA missing from this OpenSSL"; exit 1; } # buildkit
LABEL org.opencontainers.image.source=https://github.com/macula-io/macula-ci-images
LABEL org.opencontainers.image.description=Macula runtime base: Debian trixie with OpenSSL 3.5+ (ML-DSA)
SHELL [/bin/bash -o pipefail -c]
ARG ROCKSDB_VERSION=11.1.2
RUN |1 ROCKSDB_VERSION=11.1.2 /bin/bash -o pipefail -c apt-get update -y && apt-get install -y --no-install-recommends libsnappy1v5 liblz4-1 libzstd1 zlib1g libbz2-1.0 && apt-get clean && rm -rf /var/lib/apt/lists/* && rm -rf /var/log/apt/* /var/log/dpkg.log /var/log/alternatives.log /var/cache/ldconfig/aux-cache /var/cache/debconf/*-old # buildkit
COPY /out/lib/ /usr/local/lib/ # buildkit
RUN |1 ROCKSDB_VERSION=11.1.2 /bin/bash -o pipefail -c ldconfig && ldconfig -p | grep -F "librocksdb.so.${ROCKSDB_VERSION%%.*} " && ! ldd "/usr/local/lib/librocksdb.so.${ROCKSDB_VERSION}" | grep -F "not found" && echo "librocksdb ${ROCKSDB_VERSION} resolves" && rm -f /var/cache/ldconfig/aux-cache # buildkit
LABEL org.opencontainers.image.source=https://github.com/macula-io/macula-ci-images
LABEL org.opencontainers.image.description=Macula runtime base for releases that link erlang rocksdb: macula-pq-runtime (Debian trixie, OpenSSL 3.5+ ML-DSA) plus shared librocksdb 11.1.2 and its compression libraries
LABEL org.opencontainers.image.source=https://github.com/macula-services/mcl-mail
ARG REVISION=unknown
LABEL org.opencontainers.image.revision=unknown
WORKDIR /app
COPY /build/_build/prod/rel/mcl_mail ./ # buildkit
ENV HOME=/app
ENV RELX_REPLACE_OS_VARS=true
ENV MCL_NODE_NAME=mcl_mail
ENV MCL_NODE_HOST=127.0.0.1
ENV MCL_COOKIE=mcl_mail
ENV MCL_DATA_DIR=/data
VOLUME [/etc/mcl/secrets]
HEALTHCHECK {Test:[CMD-SHELL curl -fsS --unix-socket /run/mcl/health.sock http://localhost/health || exit 1] Interval:30s Timeout:5s StartPeriod:30s StartInterval:0s Retries:3}
CMD ["/app/bin/mcl_mail" "foreground"]

Labels

Key Value
io.macula.base.ci-otp ghcr.io/macula-io/macula-ci-otp@sha256:97e2739d9c02c17c7b70de073d7bab4c0fede0fa73716db4f1123428505f0655
io.macula.base.ci-pq-ex118 ghcr.io/macula-io/macula-ci-pq@sha256:28d85f5fa143e664f6564125d92dc23eca0d30e7457ba0317b92686aceae3a7a
io.macula.base.pq-runtime ghcr.io/macula-io/macula-pq-runtime@sha256:b9b8b2d5a294a2ecebdbbccd40097a8e987e1f918653650e7c483947d0262872
io.macula.debian-base trixie-20260918-slim
org.opencontainers.image.created 2026-09-18T00:00:00Z
org.opencontainers.image.description Macula runtime base for releases that link erlang rocksdb: macula-pq-runtime (Debian trixie, OpenSSL 3.5+ ML-DSA) plus shared librocksdb 11.1.2 and its compression libraries
org.opencontainers.image.revision unknown
org.opencontainers.image.source https://github.com/macula-services/mcl-mail
org.opencontainers.image.title macula-pq-runtime-rocksdb