feat: Add JSON structured logging and fix mariadb-devel package name
All checks were successful
CI / build (push) Successful in 13s
CI / release (release) Successful in 11m54s

This commit is contained in:
2026-02-21 21:04:08 +13:00
parent 6d5cfc3110
commit 41d0f13ba8
3 changed files with 91 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
FROM almalinux:9.5-minimal
ARG DEV_DEPENDENCIES="gcc python3-devel postgresql-devel mariadb-devel"
ARG DEV_DEPENDENCIES="gcc python3-devel postgresql-devel mariadb-connector-c-devel"
# Install only the runtime packages we need, including cronie for cron support
# tini is used as PID 1 to reap zombie processes spawned by crond and forward
@@ -24,6 +24,7 @@ RUN microdnf install -y ${DEV_DEPENDENCIES} \
&& microdnf clean all
COPY docker/entrypoint.sh /entrypoint.sh
COPY docker/json_logger.py /json_logger.py
RUN chmod +x /entrypoint.sh
# ---------------------------------------------------------------------------
@@ -33,6 +34,7 @@ RUN chmod +x /entrypoint.sh
# Core
ENV ARA_BASE_DIR=/opt/ara
ENV PYTHONPATH=/
# ENV ARA_SECRET_KEY=changeme # set a stable secret in production
# ENV ARA_ALLOWED_HOSTS="['*']" # restrict to your hostname(s)
# ENV ARA_TIME_ZONE=UTC # ARA display/storage timezone