Add shared Erlang builder/runtime base images from registry.
CI / test (push) Successful in 7m42s

Publish erlang-builder and erlang-runtime as :latest, use them in prod and API test builds, auto-collect NIF libs, and sync CI to pull/push bases before eventhub build.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-11 12:25:42 +03:00
parent 14c0ac9220
commit e8464b3a8b
9 changed files with 228 additions and 42 deletions
+13
View File
@@ -0,0 +1,13 @@
# EventHub — runtime: libs для relx-release (ERTS внутри release).
# ALPINE_VERSION MUST match erlang:28-alpine (сейчас 3.23).
# Публикуется как git.sabilin.com/eventhub/erlang-runtime:latest
ARG ALPINE_VERSION=3.23
FROM alpine:${ALPINE_VERSION}
RUN apk add --no-cache \
openssl libstdc++ libgcc ncurses-libs libsodium \
file \
&& mkdir -p /app/data \
&& chmod 777 /app/data
WORKDIR /app