Merge 'Copy instrumented image and symbols in Dockerfile.antithesis' from eric-dinh-antithesis

Copies the binary from the antithesis build instead of release
Copies symbol files from the binary to the `/symbols` directory
Resolves the `Symbols were uploaded` and `Software was instrumented`
properties in the Antithesis triage reports

Closes #1783
This commit is contained in:
Pekka Enberg
2025-06-20 09:23:45 +03:00

View File

@@ -88,7 +88,8 @@ RUN pip install antithesis
WORKDIR /app
EXPOSE 8080
COPY --from=builder /usr/lib/libvoidstar.so* /usr/lib/
COPY --from=builder /app/target/release/limbo_stress /bin/limbo_stress
COPY --from=builder /app/target/antithesis/limbo_stress /bin/limbo_stress
COPY --from=builder /app/target/antithesis/limbo_stress /symbols
COPY stress/docker-entrypoint.sh /bin
RUN chmod +x /bin/docker-entrypoint.sh