Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,15 @@ RUN CGO_ENABLED=0 GOOS=linux \

# Stage 2: minimal runtime. Alpine carries ca-certs for outbound HTTPS
# (OpenAI/Cohere/embedding sidecars).
FROM alpine:3.20
RUN apk add --no-cache ca-certificates tzdata && \
#
# PILOT-154: pin both the base image patch level AND apk packages so
# rebuilds are deterministic. Bump these together when the Alpine 3.20.x
# branch picks up a security update — verify the new versions are still
# available in dl-cdn.alpinelinux.org/alpine/v3.20/main before merging.
FROM alpine:3.20.6
RUN apk add --no-cache \
ca-certificates=20260413-r0 \
tzdata=2026b-r0 && \
addgroup -S cosift && adduser -S -G cosift cosift && \
mkdir -p /var/lib/cosift && chown -R cosift:cosift /var/lib/cosift

Expand Down
Loading