build: force fresh compilation by ignoring host binary
This commit is contained in:
4
.dockerignore
Normal file
4
.dockerignore
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
org-agent-server
|
||||||
|
.git
|
||||||
|
.env
|
||||||
|
tests/
|
||||||
@@ -21,6 +21,9 @@ WORKDIR /app
|
|||||||
COPY org-agent.asd /app/
|
COPY org-agent.asd /app/
|
||||||
COPY src/ /app/src/
|
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
|
# Build the standalone binary natively inside the container
|
||||||
# This ensures GLIBC compatibility with the runtime environment.
|
# This ensures GLIBC compatibility with the runtime environment.
|
||||||
RUN sbcl --non-interactive \
|
RUN sbcl --non-interactive \
|
||||||
|
|||||||
Reference in New Issue
Block a user