Resolves GLIBC_2.39 mismatch error — CI builds on ubuntu-latest (24.04) which links against glibc 2.39, but debian:bookworm-slim only provides glibc 2.36, causing binary execution failure.
13 lines
358 B
Docker
13 lines
358 B
Docker
# Runtime only — binary built externally via cargo
|
|
FROM ubuntu:24.04
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
ca-certificates libssl3 procps \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
WORKDIR /app
|
|
COPY target/x86_64-unknown-linux-gnu/release/email-worker /app/email-worker
|
|
|
|
ENV APP_LOG_LEVEL=info
|
|
ENTRYPOINT ["/app/email-worker"]
|