Merge pull request 'fix: soul-demo emit_metric linker error — rebuild from source, compile with el_runtime.c' (#7) from fix/soul-demo-emit-metric into stage
Stage — Build, push & deploy to marketing-stage / deploy-stage (push) Failing after 2m26s

This commit was merged in pull request #7.
This commit is contained in:
2026-05-07 02:30:46 +00:00
2 changed files with 125 additions and 123 deletions
+4 -1
View File
@@ -44,12 +44,15 @@ RUN cc -O2 -rdynamic \
-lcurl -lpthread -ldl -lm -lssl -lcrypto
# ── Build soul-demo ───────────────────────────────────────────────────────────
# Compile soul-demo.c with el_runtime.c directly (not el_runtime.o) so that
# all runtime symbols — including emit_metric, emit_log, trace_span_* — are
# always resolved from the staged source rather than a cached object file.
COPY dist/soul-demo.c ./
COPY dist/vessel_stubs.c ./
RUN cc -O2 -rdynamic \
-o soul-demo \
soul-demo.c vessel_stubs.c el_runtime.o \
soul-demo.c vessel_stubs.c el_runtime.c \
-lcurl -lpthread -ldl -lm -lssl -lcrypto
# ── Stage 2: runtime image ────────────────────────────────────────────────────
+121 -122
View File
File diff suppressed because one or more lines are too long