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
+23
View File
@@ -0,0 +1,23 @@
#!/bin/sh
# Падает, если у .so из release есть unresolved ldd-зависимости.
# Usage: verify-native-libs.sh <release_dir>
set -eu
RELEASE="${1:?release_dir}"
failed=0
# shellcheck disable=SC2044
for so in $(find "${RELEASE}" -name '*.so' 2>/dev/null); do
if ldd "${so}" 2>/dev/null | grep -q 'not found'; then
echo "ERROR: missing libs for ${so}:"
ldd "${so}" 2>/dev/null | grep 'not found' || true
failed=1
fi
done
if [ "${failed}" -ne 0 ]; then
echo "verify-native-libs: FAILED"
exit 1
fi
echo "verify-native-libs: OK"