- Add procps to git-hook and email-worker Dockerfiles (provides pgrep) - Change all exec probes from pgrep to kill -0 1 (more reliable, bash built-in) - Add startupProbe to gitserver with 30 failure threshold (5min max startup time) - Increase gitserver liveness initialDelay to 30s for slower SSH init
13 lines
366 B
Docker
13 lines
366 B
Docker
# Runtime only — binary built externally via cargo
|
|
FROM debian:bookworm-slim
|
|
|
|
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"]
|