build: force fresh compilation by ignoring host binary

This commit is contained in:
2026-03-27 17:53:53 -04:00
parent 931c68e582
commit 4dca297a5a
2 changed files with 7 additions and 0 deletions

4
.dockerignore Normal file
View File

@@ -0,0 +1,4 @@
org-agent-server
.git
.env
tests/

View File

@@ -21,6 +21,9 @@ WORKDIR /app
COPY org-agent.asd /app/
COPY src/ /app/src/
# Ensure we aren't using a stale binary from the host
RUN rm -f /app/org-agent-server
# Build the standalone binary natively inside the container
# This ensures GLIBC compatibility with the runtime environment.
RUN sbcl --non-interactive \