Skip to content
Merged
Show file tree
Hide file tree
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
1 change: 0 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

**Features**:

- Switches the container base image from distroless to docker hardened. ([#6117](https://github.com/getsentry/relay/pull/6117))
- Infer span descriptions via `sentry-conventions`. ([#6093](https://github.com/getsentry/relay/pull/6093))
- Raises the size limit for the flags context to 64KiB. ([#6137](https://github.com/getsentry/relay/pull/6137))
- Add segment_names field to Replay events. ([#6134](https://github.com/getsentry/relay/pull/6134))
Expand Down
14 changes: 7 additions & 7 deletions Dockerfile.release
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
FROM us-docker.pkg.dev/sentryio/dhi-mirror/static:20250419-glibc-debian13 AS builder
FROM gcr.io/distroless/cc-debian13:debug AS builder

FROM us-docker.pkg.dev/sentryio/dhi-mirror/static:20250419-glibc-debian13
RUN ["/busybox/busybox", "mkdir", "/work", "/etc/relay"]


FROM gcr.io/distroless/cc-debian13:nonroot

ARG TARGETPLATFORM

EXPOSE 3000

# The base image does not have a shell available, which means we cannot
# `mkdir` the volume directories. As an alternative we can use the empty
# home directory instead.
COPY --from=builder --chown=nonroot:nonroot /home/nonroot /etc/relay
COPY --from=builder --chown=nonroot:nonroot /home/nonroot /work
COPY --from=builder --chown=nonroot:nonroot /etc/relay /etc/relay
COPY --from=builder --chown=nonroot:nonroot /work /work

VOLUME ["/etc/relay", "/work"]
WORKDIR /work
Expand Down
Loading