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
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:
+4
-1
@@ -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 ────────────────────────────────────────────────────
|
||||
|
||||
Vendored
+121
-122
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user